There was an error while loading. Please reload this page.
1 parent e85ebd7 commit 48aed51Copy full SHA for 48aed51
src/main/java/com/jsoniter/IterImplNumber.java
@@ -62,8 +62,7 @@ class IterImplNumber {
62
}
63
64
public static final double readDouble(final JsonIterator iter) throws IOException {
65
- final byte c = IterImpl.nextToken(iter);
66
- boolean negative = c == '-';
+ boolean negative = IterImpl.nextToken(iter) == '-';
67
if (!negative) {
68
iter.unreadByte();
69
0 commit comments