diff options
Diffstat (limited to 'javanano/src/main/java/com')
-rw-r--r-- | javanano/src/main/java/com/google/protobuf/nano/InternalNano.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/javanano/src/main/java/com/google/protobuf/nano/InternalNano.java b/javanano/src/main/java/com/google/protobuf/nano/InternalNano.java index c92ec417..4a08bb58 100644 --- a/javanano/src/main/java/com/google/protobuf/nano/InternalNano.java +++ b/javanano/src/main/java/com/google/protobuf/nano/InternalNano.java @@ -354,13 +354,12 @@ public final class InternalNano { } return result; } - private static final byte[] EMPTY_BYTES = new byte[0]; private static Object primitiveDefaultValue(int type) { switch (type) { case TYPE_BOOL: return Boolean.FALSE; case TYPE_BYTES: - return EMPTY_BYTES; + return WireFormatNano.EMPTY_BYTES; case TYPE_STRING: return ""; case TYPE_FLOAT: |