We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add06f9 commit 9a7506aCopy full SHA for 9a7506a
pom.xml
@@ -15,6 +15,11 @@
15
<version>4.12</version>
16
<scope>test</scope>
17
</dependency>
18
+ <dependency>
19
+ <groupId>org.hamcrest</groupId>
20
+ <artifactId>hamcrest-all</artifactId>
21
+ <version>1.3</version>
22
+ </dependency>
23
<dependency>
24
<groupId>org.apache.httpcomponents</groupId>
25
<artifactId>fluent-hc</artifactId>
src/main/java/com/titizz/jsonparser/tokenizer/CharReader.java
@@ -26,9 +26,8 @@ public CharReader(Reader reader) {
26
/**
27
* 返回 pos 下标处的字符,并返回
28
* @return
29
- * @throws IOException
30
*/
31
- public char peek() throws IOException {
+ public char peek() {
32
if (pos - 1 >= size) {
33
return (char) -1;
34
}
0 commit comments