diff options
-rw-r--r-- | vespaclient-container-plugin/src/test/java/com/yahoo/vespa/http/server/VersionsTestCase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vespaclient-container-plugin/src/test/java/com/yahoo/vespa/http/server/VersionsTestCase.java b/vespaclient-container-plugin/src/test/java/com/yahoo/vespa/http/server/VersionsTestCase.java index b877f9738ce..52a58474238 100644 --- a/vespaclient-container-plugin/src/test/java/com/yahoo/vespa/http/server/VersionsTestCase.java +++ b/vespaclient-container-plugin/src/test/java/com/yahoo/vespa/http/server/VersionsTestCase.java @@ -6,6 +6,7 @@ import com.yahoo.container.jdisc.HttpResponse; import org.junit.Test; import java.io.ByteArrayOutputStream; +import java.util.Arrays; import java.util.List; import static org.junit.Assert.assertEquals; @@ -22,7 +23,7 @@ public class VersionsTestCase { private static final List<String> ONE_TWO = List.of("1", "2"); private static final List<String> ONE_THREE = List.of("1", "3"); private static final List<String> TWO_THREE = List.of("3", "2"); - private static final List<String> ONE_NULL_THREE = List.of("1", null, "3"); + private static final List<String> ONE_NULL_THREE = Arrays.asList("1", null, "3"); private static final List<String> ONE_COMMA_THREE = List.of("1, 3"); private static final List<String> ONE_EMPTY_THREE = List.of("1", "", "3"); private static final List<String> TOO_LARGE_NUMBER = List.of("1000000000"); |