We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68c238f commit f8e2401Copy full SHA for f8e2401
user/src/com/google/gwt/user/server/rpc/impl/ServerSerializationStreamWriter.java
@@ -321,13 +321,11 @@ public static String escapeString(String toEscape) {
321
int i = 0;
322
while (i < length) {
323
324
- while (i < length) {
325
- char c = toEscape.charAt(i++);
326
- if (needsUnicodeEscape(c)) {
327
- unicodeEscape(c, charVector);
328
- } else {
329
- charVector.add(c);
330
- }
+ char c = toEscape.charAt(i++);
+ if (needsUnicodeEscape(c)) {
+ unicodeEscape(c, charVector);
+ } else {
+ charVector.add(c);
331
}
332
333
0 commit comments