Skip to content

Commit 48aed51

Browse files
committed
code clean up
1 parent e85ebd7 commit 48aed51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/jsoniter/IterImplNumber.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ class IterImplNumber {
6262
}
6363

6464
public static final double readDouble(final JsonIterator iter) throws IOException {
65-
final byte c = IterImpl.nextToken(iter);
66-
boolean negative = c == '-';
65+
boolean negative = IterImpl.nextToken(iter) == '-';
6766
if (!negative) {
6867
iter.unreadByte();
6968
}

0 commit comments

Comments
 (0)