From e1f8ec3cc27dfb5f31bc3f8fdb98630bcf2d7153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Sun, 24 Nov 2019 14:06:59 +0100 Subject: Remove unused const values --- .../java/pl/edu/mimuw/cloudatlas/fetcher/Fetcher.java | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/main/java/pl/edu/mimuw') 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 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 fetcherAttributeNames = List.of( "avg_load", "free_disk", -- cgit v1.2.3