Workaround for a compiler bug (unsorted switch cases)
This commit is contained in:
parent
a1d7a75ff4
commit
9c0e9e1780
@ -218,10 +218,10 @@ public class CookieEncoder {
|
||||
for (int i = 0; i < val.length(); i ++) {
|
||||
char c = val.charAt(i);
|
||||
switch (c) {
|
||||
case '(': case ')': case '<': case '>': case '@': case ',':
|
||||
case ';': case ':': case '"': case '/': case '[': case ']':
|
||||
case '?': case '=': case '{': case '}': case ' ':
|
||||
case '\t': case '\\':
|
||||
case '\t': case ' ': case '"': case '(': case ')': case ',':
|
||||
case '/': case ':': case ';': case '<': case '=': case '>':
|
||||
case '?': case '@': case '[': case '\\': case ']':
|
||||
case '{': case '}':
|
||||
addQuoted(sb, name, val);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user