changeset 106:60a9e2735d62

remove unnecessary getCategories() methods reviewed-by: omajid review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-March/000264.html
author Jon VanAlten <jon.vanalten@redhat.com>
date Wed, 07 Mar 2012 09:39:52 -0500
parents c6eda3616df8
children fd0aba264820
files agent/src/main/java/com/redhat/thermostat/backend/system/JvmStatHostListener.java agent/src/main/java/com/redhat/thermostat/backend/system/JvmStatVmListener.java
diffstat 2 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/agent/src/main/java/com/redhat/thermostat/backend/system/JvmStatHostListener.java	Tue Mar 06 17:16:36 2012 -0500
+++ b/agent/src/main/java/com/redhat/thermostat/backend/system/JvmStatHostListener.java	Wed Mar 07 09:39:52 2012 -0500
@@ -38,7 +38,6 @@
 
 import java.net.URISyntaxException;
 import java.util.ArrayList;
-import java.util.Collection;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
@@ -60,7 +59,6 @@
 import com.redhat.thermostat.common.VmInfo;
 import com.redhat.thermostat.common.dao.VmInfoConverter;
 import com.redhat.thermostat.common.dao.VmInfoDAO;
-import com.redhat.thermostat.common.storage.Category;
 import com.redhat.thermostat.common.storage.Chunk;
 import com.redhat.thermostat.common.utils.LoggingUtils;
 
@@ -74,11 +72,6 @@
 
     private Set<JvmStatusListener> statusListeners = new CopyOnWriteArraySet<JvmStatusListener>();
 
-    public static Collection<Category> getCategories() {
-        ArrayList<Category> categories = new ArrayList<Category>();
-        return categories;
-    }
-
     public void setBackend(SystemBackend backend) {
         this.backend = backend;
     }
--- a/agent/src/main/java/com/redhat/thermostat/backend/system/JvmStatVmListener.java	Tue Mar 06 17:16:36 2012 -0500
+++ b/agent/src/main/java/com/redhat/thermostat/backend/system/JvmStatVmListener.java	Wed Mar 07 09:39:52 2012 -0500
@@ -37,7 +37,6 @@
 package com.redhat.thermostat.backend.system;
 
 import java.util.ArrayList;
-import java.util.Collection;
 import java.util.List;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -54,7 +53,6 @@
 import com.redhat.thermostat.common.VmMemoryStat.Space;
 import com.redhat.thermostat.common.dao.VmGcStatConverter;
 import com.redhat.thermostat.common.dao.VmMemoryStatConverter;
-import com.redhat.thermostat.common.storage.Category;
 import com.redhat.thermostat.common.utils.LoggingUtils;
 
 public class JvmStatVmListener implements VmListener {
@@ -69,11 +67,6 @@
         this.vmId = vmId;
     }
 
-    public static Collection<Category> getCategories() {
-        ArrayList<Category> categories = new ArrayList<Category>();
-        return categories;
-    }
-
     @Override
     public void disconnected(VmEvent event) {
         /* nothing to do here */