aboutsummaryrefslogtreecommitdiffhomepage
path: root/java/core/src
diff options
context:
space:
mode:
authorGravatar Jisi Liu <liujisi@google.com>2017-03-13 10:56:20 -0700
committerGravatar GitHub <noreply@github.com>2017-03-13 10:56:20 -0700
commitddfc86b1f7929ae93fce7e062800793e36e67262 (patch)
tree1142392a9a11d8e303042a5723e744271559d987 /java/core/src
parenta69bc9de75fe08f5fe7ad6e2339dfc5b0da5d8ef (diff)
parentf4f31e73f2b5cf6ad6765800329809ef8316d4e6 (diff)
Merge pull request #2835 from pherl/javaep
Suppress the last unchecked warning.
Diffstat (limited to 'java/core/src')
-rw-r--r--java/core/src/test/java/com/google/protobuf/LazyStringArrayListTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/core/src/test/java/com/google/protobuf/LazyStringArrayListTest.java b/java/core/src/test/java/com/google/protobuf/LazyStringArrayListTest.java
index d2bee2a4..2fc3124d 100644
--- a/java/core/src/test/java/com/google/protobuf/LazyStringArrayListTest.java
+++ b/java/core/src/test/java/com/google/protobuf/LazyStringArrayListTest.java
@@ -281,6 +281,7 @@ public class LazyStringArrayListTest extends TestCase {
assertGenericListImmutable(byteArrayList, byteArrayList.get(0));
}
+ @SuppressWarnings("unchecked")
private static <T> void assertGenericListImmutable(List<T> list, T value) {
try {
list.add(value);