Commit 04f70ef5 authored by Max Cai's avatar Max Cai Committed by Gerrit Code Review

Merge "Fixed octal printing of bytearrays"

parents ec0e1c00 32a45d09
......@@ -249,7 +249,7 @@ public final class MessageNanoPrinter {
} else if (ch >= 32 && ch < 127) {
builder.append((char) ch);
} else {
builder.append(String.format("\\%03o", ch));
builder.append(String.format("\\%03o", ch && 0xff));
}
}
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