Skip to content

Commit

Permalink
Import clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 6, 2022
1 parent 772bd09 commit 38d2454
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public final class JsonStringEncoder
/**********************************************************************
*/

private final static char[] HC = CharTypes.copyHexChars();
private final static char[] HC = CharTypes.copyHexChars(true);

private final static byte[] HB = CharTypes.copyHexBytes();
private final static byte[] HB = CharTypes.copyHexBytes(true);

private final static int SURR1_FIRST = 0xD800;
private final static int SURR1_LAST = 0xDBFF;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
public class Fuzz51806JsonPointerParse818Test extends BaseTest
{
// Before fix, looks like this is enough to cause StackOverflowError
private final static int TOO_DEEP_PATH = 6000;
private final static int TOO_DEEP_PATH = 10_000;

// Verify that a very deep/long (by number of segments) JsonPointer
// may still be parsed ok, for "simple" case (no quoted chars)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import org.junit.jupiter.api.DynamicNode;
import org.junit.jupiter.api.TestFactory;

import java.nio.charset.StandardCharsets;
import java.util.function.ToDoubleFunction;
import java.util.function.ToLongFunction;
import java.util.stream.Stream;
Expand Down

0 comments on commit 38d2454

Please sign in to comment.