Skip to content

Commit

Permalink
Trim down ArraysCompat to only include methods that are called, remov…
Browse files Browse the repository at this point in the history
…e some bounds checks
  • Loading branch information
cowtowncoder committed Jan 28, 2014
1 parent 549d8e6 commit 3577a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 367 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ public abstract class CharacterEscapes
* customize definitions. Caller can modify this array as it sees
* fit and usually returns modified instance via {@link #getEscapeCodesForAscii}
*/
public static int[] standardAsciiEscapesForJSON()
{
public static int[] standardAsciiEscapesForJSON() {
int[] esc = CharTypes.get7BitOutputEscapes();
return ArraysCompat.copyOf(esc, esc.length);
}
Expand Down
Loading

0 comments on commit 3577a42

Please sign in to comment.