Skip to content

Commit

Permalink
Merge pull request #161 from Miha-x64/patch-1
Browse files Browse the repository at this point in the history
Fixed forgotten throw
  • Loading branch information
taowen authored Mar 2, 2018
2 parents a41b3ba + 5224cb3 commit ce5e516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/jsoniter/IterImplString.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static final String readString(JsonIterator iter) throws IOException {
IterImpl.skipFixedBytes(iter, 3);
return null;
}
iter.reportError("readString", "expect string or null, but " + (char) c);
throw iter.reportError("readString", "expect string or null, but " + (char) c);
}
int j = parse(iter);
return new String(iter.reusableChars, 0, j);
Expand Down

0 comments on commit ce5e516

Please sign in to comment.