This commit is contained in:
坏黑
2018-05-07 14:43:57 +08:00
parent 7181c487f9
commit 6f34cbc2e0
152 changed files with 9256 additions and 9003 deletions

View File

@@ -15,7 +15,7 @@ public class HTTPTokener extends JSONTokener {
} while (Character.isWhitespace(c));
if (c == '"' || c == '\'') {
q = c;
for (;;) {
for (; ; ) {
c = next();
if (c < ' ') {
throw syntaxError("Unterminated string.");
@@ -25,8 +25,8 @@ public class HTTPTokener extends JSONTokener {
}
sb.append(c);
}
}
for (;;) {
}
for (; ; ) {
if (c == 0 || Character.isWhitespace(c)) {
return sb.toString();
}