Ignore copyOf method when testing with modern Java

This commit is contained in:
Andrew Gaul 2021-07-10 11:27:38 +09:00 committed by Andrew Gaul
parent ec395cc9af
commit f2eef863a1
1 changed files with 3 additions and 1 deletions

View File

@ -131,7 +131,9 @@ public class Reflection2Test {
"spliterator",
"stream",
// Java 9 methods
"of");
"of",
// Java 10 methods
"copyOf");
private static final ImmutableSet<String> SORTED_SET_METHODS = ImmutableSet.<String>builder()
.addAll(SET_METHODS)