Commit 2b69e07c authored by Max Cai's avatar Max Cai Committed by Gerrit Code Review

Merge "Revert "Fixed octal printing of bytearrays""

parents 04f70ef5 42da25e9
...@@ -249,7 +249,7 @@ public final class MessageNanoPrinter { ...@@ -249,7 +249,7 @@ public final class MessageNanoPrinter {
} else if (ch >= 32 && ch < 127) { } else if (ch >= 32 && ch < 127) {
builder.append((char) ch); builder.append((char) ch);
} else { } else {
builder.append(String.format("\\%03o", ch && 0xff)); builder.append(String.format("\\%03o", ch));
} }
} }
builder.append('"'); builder.append('"');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment