m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/pl/edu
diff options
context:
space:
mode:
authorMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-24 14:06:59 +0100
committerMagdalena Grodzińska <mag.grodzinska@gmail.com>2019-11-24 14:06:59 +0100
commite1f8ec3cc27dfb5f31bc3f8fdb98630bcf2d7153 (patch)
tree2b014c198d1874a0a2cc6bd7db053daf4439eff1 /src/main/java/pl/edu
parent9f1219d9c7762d72c9b63cf4dae0768bcf7d8d95 (diff)
Remove unused const values
Diffstat (limited to 'src/main/java/pl/edu')
-rw-r--r--src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java15
1 files changed, 0 insertions, 15 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 a864e03..8d64a56 100644
--- a/src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java
+++ b/src/main/java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java
@@ -15,21 +15,6 @@ import com.google.gson.Gson;
import pl.edu.mimuw.cloudatlas.model.*;
public class Fetcher {
- private static final Map<String, Type.PrimaryType> fetcherAttributes = Map.ofEntries(
- Map.entry("cpu_load", Type.PrimaryType.DOUBLE),
- Map.entry("free_disk", Type.PrimaryType.INT),
- Map.entry("total_disk", Type.PrimaryType.INT),
- Map.entry("free_ram", Type.PrimaryType.INT),
- Map.entry("total_ram", Type.PrimaryType.INT),
- Map.entry("free_swap", Type.PrimaryType.INT),
- Map.entry("total_swap", Type.PrimaryType.INT),
- Map.entry("num_processes", Type.PrimaryType.INT),
- Map.entry("num_cores", Type.PrimaryType.INT),
- Map.entry("kernel_ver", Type.PrimaryType.STRING),
- Map.entry("logged_users", Type.PrimaryType.INT),
- Map.entry("dns_names", Type.PrimaryType.LIST)
- );
-
private static final List<String> fetcherAttributeNames = List.of(
"avg_load",
"free_disk",