diff options
author | Jisi Liu <jisi.liu@gmail.com> | 2017-03-10 14:53:15 -0800 |
---|---|---|
committer | Jisi Liu <jisi.liu@gmail.com> | 2017-03-10 14:53:15 -0800 |
commit | 81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e (patch) | |
tree | fab17d29dd4dd51f70ad80dcf11a60c4fb82ca20 /java/core/src/test | |
parent | a1bb147e96b6f74db6cdf3c3fcb00492472dbbfa (diff) | |
download | protobuf-81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e.tar.gz protobuf-81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e.tar.bz2 protobuf-81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e.zip |
Fix java code according to error prone.
Diffstat (limited to 'java/core/src/test')
-rw-r--r-- | java/core/src/test/java/com/google/protobuf/TestUtil.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/core/src/test/java/com/google/protobuf/TestUtil.java b/java/core/src/test/java/com/google/protobuf/TestUtil.java index d4a18a22..c1bd21db 100644 --- a/java/core/src/test/java/com/google/protobuf/TestUtil.java +++ b/java/core/src/test/java/com/google/protobuf/TestUtil.java @@ -2602,6 +2602,9 @@ public final class TestUtil { case FOO_CORD: Assert.assertTrue(message.hasFooCord()); break; + case FOO_STRING_PIECE: + Assert.assertTrue(message.hasFooStringPiece()); + break; case FOO_BYTES: Assert.assertTrue(message.hasFooBytes()); break; |