Skip to content

Commit 3577a42

Browse files
committed
Trim down ArraysCompat to only include methods that are called, remove some bounds checks
1 parent 549d8e6 commit 3577a42

File tree

2 files changed

+2
-367
lines changed

2 files changed

+2
-367
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ public abstract class CharacterEscapes
6363
* customize definitions. Caller can modify this array as it sees
6464
* fit and usually returns modified instance via {@link #getEscapeCodesForAscii}
6565
*/
66-
public static int[] standardAsciiEscapesForJSON()
67-
{
66+
public static int[] standardAsciiEscapesForJSON() {
6867
int[] esc = CharTypes.get7BitOutputEscapes();
6968
return ArraysCompat.copyOf(esc, esc.length);
7069
}

0 commit comments

Comments
 (0)