Revert "Fixed octal printing of bytearrays"

This reverts commit 8b8481868877c9db407d04bdf4843e50d8920806.

Change-Id: I0876235b79cd7745312879d0f1b00c6d1c1a1b7a
pull/91/head
Max Cai 10 years ago
parent 32a45d0921
commit 42da25e969
  1. 2
      java/src/main/java/com/google/protobuf/nano/MessageNanoPrinter.java

@ -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 && 0xff));
builder.append(String.format("\\%03o", ch));
}
}
builder.append('"');

Loading…
Cancel
Save