summaryrefslogtreecommitdiffstats
path: root/configserver/src/test/java/com/yahoo/vespa/config/server/tenant/TenantRepositoryTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'configserver/src/test/java/com/yahoo/vespa/config/server/tenant/TenantRepositoryTest.java')
-rw-r--r--configserver/src/test/java/com/yahoo/vespa/config/server/tenant/TenantRepositoryTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/configserver/src/test/java/com/yahoo/vespa/config/server/tenant/TenantRepositoryTest.java b/configserver/src/test/java/com/yahoo/vespa/config/server/tenant/TenantRepositoryTest.java
index 515ecf0005e..9ef1f42f247 100644
--- a/configserver/src/test/java/com/yahoo/vespa/config/server/tenant/TenantRepositoryTest.java
+++ b/configserver/src/test/java/com/yahoo/vespa/config/server/tenant/TenantRepositoryTest.java
@@ -46,7 +46,6 @@ import org.mockito.Mock;
import org.xml.sax.SAXException;
import java.io.IOException;
import java.time.Clock;
-import java.util.Arrays;
import java.util.List;
import java.util.Set;
@@ -174,7 +173,7 @@ public class TenantRepositoryTest {
@Test
public void testTenantWatching() throws Exception {
TenantName newTenant = TenantName.from("newTenant");
- List<TenantName> expectedTenants = Arrays.asList(TenantName.defaultName(), newTenant);
+ List<TenantName> expectedTenants = List.of(TenantName.defaultName(), newTenant);
try {
tenantRepository.addTenant(newTenant);
// Poll for the watcher to pick up the tenant from zk, and add it