Skip to content

Commit

Permalink
delete Duplicate Code
Browse files Browse the repository at this point in the history
  • Loading branch information
{李彦慧}({026834}) committed Nov 20, 2014
1 parent 730c80b commit 8e681e6
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,6 @@ public final Object parseObject(final Map object, Object fieldName) {
return null;
}

if (lexer.token() == JSONToken.NULL) {
lexer.next();
return null;
}

if (lexer.token() != JSONToken.LBRACE && lexer.token() != JSONToken.COMMA) {
throw new JSONException("syntax error, expect {, actual " + lexer.tokenName());
}
Expand Down

0 comments on commit 8e681e6

Please sign in to comment.