diff options
author | Jisi Liu <liujisi@google.com> | 2017-03-10 15:19:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-10 15:19:04 -0800 |
commit | f54fb9d729468b776b7dde2df12f2ce36e355bd5 (patch) | |
tree | cdc32f66e0e4ae185d56cb2a176b9d1f8d1b5bc5 /java/core | |
parent | e11cd3ee6edd102333a16fcca49de5de3c0bc0e2 (diff) | |
parent | 81fe52fbd4f0fcfac6259e7eacd9eaddaf0a4c3e (diff) |
Merge pull request #2832 from pherl/javaep
Fix java code according to error prone.
Diffstat (limited to 'java/core')
-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; |