Skip to content

Commit 38d2454

Browse files
committed
Import clean up
1 parent 772bd09 commit 38d2454

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/main/java/com/fasterxml/jackson/core/io/JsonStringEncoder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ public final class JsonStringEncoder
2121
/**********************************************************************
2222
*/
2323

24-
private final static char[] HC = CharTypes.copyHexChars();
24+
private final static char[] HC = CharTypes.copyHexChars(true);
2525

26-
private final static byte[] HB = CharTypes.copyHexBytes();
26+
private final static byte[] HB = CharTypes.copyHexBytes(true);
2727

2828
private final static int SURR1_FIRST = 0xD800;
2929
private final static int SURR1_LAST = 0xDBFF;

src/test/java/com/fasterxml/jackson/core/fuzz/Fuzz51806JsonPointerParse818Test.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public class Fuzz51806JsonPointerParse818Test extends BaseTest
99
{
1010
// Before fix, looks like this is enough to cause StackOverflowError
11-
private final static int TOO_DEEP_PATH = 6000;
11+
private final static int TOO_DEEP_PATH = 10_000;
1212

1313
// Verify that a very deep/long (by number of segments) JsonPointer
1414
// may still be parsed ok, for "simple" case (no quoted chars)

src/test/java/com/fasterxml/jackson/core/io/doubleparser/FastDoubleParserTest.java

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import org.junit.jupiter.api.DynamicNode;
1313
import org.junit.jupiter.api.TestFactory;
1414

15-
import java.nio.charset.StandardCharsets;
1615
import java.util.function.ToDoubleFunction;
1716
import java.util.function.ToLongFunction;
1817
import java.util.stream.Stream;

0 commit comments

Comments
 (0)