Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Feb 6, 2025
1 parent c3e7eeb commit c033ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/com/alibaba/fastjson2/util/IOUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@ private static int indexOfChar0(byte[] value, int ch, int fromIndex, int max) {
return -1;
}

private static boolean notContains(long v, long quote) {
private static boolean notContains(long value, long vector) {
/*
for (int i = 0; i < 8; ++i) {
byte c = (byte) v;
Expand All @@ -1693,7 +1693,7 @@ private static boolean notContains(long v, long quote) {
}
return false;
*/
long x = v ^ quote;
long x = value ^ vector;
return (((x - 0x0101010101010101L) & ~x) & 0x8080808080808080L) == 0;
}

Expand Down

0 comments on commit c033ccf

Please sign in to comment.