Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

fix:remove dead code #4322

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/main/java/com/alibaba/fastjson/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,6 @@ public static <T> T parseObject(byte[] bytes, int offset, int len,
IOUtils.close(gzipReader);
}
}
if (strVal == null && chars_len < 0) {
return null;
}

if (strVal == null) {
strVal = new String(chars, 0, chars_len);
Expand Down