diff options
author | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2019-11-24 14:11:28 +0100 |
---|---|---|
committer | Magdalena Grodzińska <mag.grodzinska@gmail.com> | 2019-11-24 14:11:28 +0100 |
commit | 66af643cca0fee4b143fb4fb97ddcff952e1a214 (patch) | |
tree | bc9fb647e48418266c726be3e3c5d016b12577fd /src/main/java/pl/edu/mimuw/cloudatlas/fetcher | |
parent | e1f8ec3cc27dfb5f31bc3f8fdb98630bcf2d7153 (diff) |
Retrofit list initalization so that CI is happy
Diffstat (limited to 'src/main/java/pl/edu/mimuw/cloudatlas/fetcher')
-rw-r--r-- | src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java | 6 |
1 files changed, 3 insertions, 3 deletions
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<String> fetcherAttributeNames = List.of( + private static final List<String> fetcherAttributeNames = Arrays.asList( "avg_load", "free_disk", "total_disk", @@ -30,7 +30,7 @@ public class Fetcher { "dns_names" ); - private static final List<Type.PrimaryType> fetcherAttributeTypes = List.of( + private static final List<Type.PrimaryType> fetcherAttributeTypes = Arrays.asList( Type.PrimaryType.DOUBLE, Type.PrimaryType.INT, Type.PrimaryType.INT, |