Sfoglia il codice sorgente

Merge pull request #2835 from pherl/javaep

Suppress the last unchecked warning.
Jisi Liu 8 anni fa
parent
commit
ddfc86b1f7

+ 1 - 0
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);