Build AsminVoicechat / prepare-release (push) Successful in 14s
Build AsminVoicechat / build-and-test (17) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (18) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (19) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (20) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (21) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (22) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (23) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (24) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (25) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (26) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (27-ea) (push) Canceled after 0s
Build AsminVoicechat / build-and-test (16) (push) Canceled after 38s
40 lines
1020 B
Java
40 lines
1020 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package de.maxhenkel.voicechat.org.json;
|
|
|
|
import de.maxhenkel.voicechat.org.json.JSONException;
|
|
import de.maxhenkel.voicechat.org.json.JSONTokener;
|
|
|
|
public class HTTPTokener
|
|
extends JSONTokener {
|
|
public HTTPTokener(String string) {
|
|
super(string);
|
|
}
|
|
|
|
public String nextToken() throws JSONException {
|
|
char c;
|
|
StringBuilder sb = new StringBuilder();
|
|
while (Character.isWhitespace(c = this.next())) {
|
|
}
|
|
if (c == '\"' || c == '\'') {
|
|
char q = c;
|
|
while (true) {
|
|
if ((c = this.next()) < ' ') {
|
|
throw this.syntaxError("Unterminated string.");
|
|
}
|
|
if (c == q) {
|
|
return sb.toString();
|
|
}
|
|
sb.append(c);
|
|
}
|
|
}
|
|
while (c != '\u0000' && !Character.isWhitespace(c)) {
|
|
sb.append(c);
|
|
c = this.next();
|
|
}
|
|
return sb.toString();
|
|
}
|
|
}
|
|
|