Skip to content

Commit 9a7506a

Browse files
committed
update
1 parent add06f9 commit 9a7506a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
<version>4.12</version>
1616
<scope>test</scope>
1717
</dependency>
18+
<dependency>
19+
<groupId>org.hamcrest</groupId>
20+
<artifactId>hamcrest-all</artifactId>
21+
<version>1.3</version>
22+
</dependency>
1823
<dependency>
1924
<groupId>org.apache.httpcomponents</groupId>
2025
<artifactId>fluent-hc</artifactId>

src/main/java/com/titizz/jsonparser/tokenizer/CharReader.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ public CharReader(Reader reader) {
2626
/**
2727
* 返回 pos 下标处的字符,并返回
2828
* @return
29-
* @throws IOException
3029
*/
31-
public char peek() throws IOException {
30+
public char peek() {
3231
if (pos - 1 >= size) {
3332
return (char) -1;
3433
}

0 commit comments

Comments
 (0)