From 66af643cca0fee4b143fb4fb97ddcff952e1a214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Sun, 24 Nov 2019 14:11:28 +0100 Subject: Retrofit list initalization so that CI is happy --- src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/pl/edu/mimuw/cloudatlas') diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java b/src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java index 8d64a56..29597eb 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java @@ -8,14 +8,14 @@ import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.io.*; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; -import java.util.Map; import com.google.gson.Gson; import pl.edu.mimuw.cloudatlas.model.*; public class Fetcher { - private static final List fetcherAttributeNames = List.of( + private static final List fetcherAttributeNames = Arrays.asList( "avg_load", "free_disk", "total_disk", @@ -30,7 +30,7 @@ public class Fetcher { "dns_names" ); - private static final List fetcherAttributeTypes = List.of( + private static final List fetcherAttributeTypes = Arrays.asList( Type.PrimaryType.DOUBLE, Type.PrimaryType.INT, Type.PrimaryType.INT, -- cgit v1.2.3