diff options
author | Pacien TRAN-GIRARD | 2014-05-18 17:53:00 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-05-18 17:53:00 +0200 |
commit | db373254f918ef75062698757e6cd6e13e26289f (patch) | |
tree | e1975b38b06c88f469f3f3e2e0d9cf515778f9f1 /src/org/json/simple/JSONValue.java | |
parent | 0d4651e54f40f4dad929c419e92e37a15926f7be (diff) | |
download | esieequest-db373254f918ef75062698757e6cd6e13e26289f.tar.gz |
Format code (100 chars line)
Diffstat (limited to 'src/org/json/simple/JSONValue.java')
-rw-r--r-- | src/org/json/simple/JSONValue.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/json/simple/JSONValue.java b/src/org/json/simple/JSONValue.java index 3d42315..47a1abe 100644 --- a/src/org/json/simple/JSONValue.java +++ b/src/org/json/simple/JSONValue.java | |||
@@ -300,7 +300,9 @@ public class JSONValue { | |||
300 | break; | 300 | break; |
301 | default: | 301 | default: |
302 | // Reference: http://www.unicode.org/versions/Unicode5.1.0/ | 302 | // Reference: http://www.unicode.org/versions/Unicode5.1.0/ |
303 | if (((ch >= '\u0000') && (ch <= '\u001F')) || ((ch >= '\u007F') && (ch <= '\u009F')) || ((ch >= '\u2000') && (ch <= '\u20FF'))) { | 303 | if (((ch >= '\u0000') && (ch <= '\u001F')) |
304 | || ((ch >= '\u007F') && (ch <= '\u009F')) | ||
305 | || ((ch >= '\u2000') && (ch <= '\u20FF'))) { | ||
304 | final String ss = Integer.toHexString(ch); | 306 | final String ss = Integer.toHexString(ch); |
305 | sb.append("\\u"); | 307 | sb.append("\\u"); |
306 | for (int k = 0; k < (4 - ss.length()); k++) { | 308 | for (int k = 0; k < (4 - ss.length()); k++) { |