diff options
author | Tamir Duberstein <tamird@gmail.com> | 2015-04-02 14:22:35 -0700 |
---|---|---|
committer | Tamir Duberstein <tamird@gmail.com> | 2015-04-02 15:06:32 -0700 |
commit | badef1fc19566745e1a052430202bb34b6a6150f (patch) | |
tree | fff4fda42b9d686e575ace97fb5de18822c97512 /java/src/test/java/com/google/protobuf/RopeByteStringTest.java | |
parent | 2820e86aab2417a8274dc64a6d5de62f1fcaedc8 (diff) | |
download | protobuf-badef1fc19566745e1a052430202bb34b6a6150f.tar.gz protobuf-badef1fc19566745e1a052430202bb34b6a6150f.tar.bz2 protobuf-badef1fc19566745e1a052430202bb34b6a6150f.zip |
Move `UTF_8` to `Internal`
Diffstat (limited to 'java/src/test/java/com/google/protobuf/RopeByteStringTest.java')
-rw-r--r-- | java/src/test/java/com/google/protobuf/RopeByteStringTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/test/java/com/google/protobuf/RopeByteStringTest.java b/java/src/test/java/com/google/protobuf/RopeByteStringTest.java index e43df165..bd0d15e3 100644 --- a/java/src/test/java/com/google/protobuf/RopeByteStringTest.java +++ b/java/src/test/java/com/google/protobuf/RopeByteStringTest.java @@ -135,7 +135,7 @@ public class RopeByteStringTest extends LiteralByteStringTest { assertEquals(classUnderTest + " from string must have the expected type", classUnderTest, getActualClassName(unicode)); - String roundTripString = unicode.toString(ByteString.UTF_8); + String roundTripString = unicode.toString(Internal.UTF_8); assertEquals(classUnderTest + " unicode bytes must match", testString, roundTripString); ByteString flatString = ByteString.copyFromUtf8(testString); @@ -149,7 +149,7 @@ public class RopeByteStringTest extends LiteralByteStringTest { RopeByteString ropeByteString = RopeByteString.newInstanceForTest(ByteString.EMPTY, ByteString.EMPTY); assertSame(classUnderTest + " must be the same string references", - ByteString.EMPTY.toString(ByteString.UTF_8), ropeByteString.toString(ByteString.UTF_8)); + ByteString.EMPTY.toString(Internal.UTF_8), ropeByteString.toString(Internal.UTF_8)); } public void testToString_raisesException() throws UnsupportedEncodingException{ |