Commit ddfc86b1 authored by Jisi Liu's avatar Jisi Liu Committed by GitHub

Merge pull request #2835 from pherl/javaep

Suppress the last unchecked warning.
parents a69bc9de f4f31e73
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment