m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu/mimuw
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-24 14:11:28 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-24 14:11:28 +0100
commit66af643cca0fee4b143fb4fb97ddcff952e1a214 (patch)
treebc9fb647e48418266c726be3e3c5d016b12577fd /src/main/java/pl/edu/mimuw
parente1f8ec3cc27dfb5f31bc3f8fdb98630bcf2d7153 (diff)
Retrofit list initalization so that CI is happy
Diffstat (limited to 'src/main/java/pl/edu/mimuw')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java6
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,