jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1381385 - in /jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers: MonitorAccumModel.java MonitorHealthPanel.java
Date Wed, 05 Sep 2012 21:20:18 GMT
Author: pmouawad
Date: Wed Sep  5 21:20:18 2012
New Revision: 1381385

URL: http://svn.apache.org/viewvc?rev=1381385&view=rev
Log:
use interface instead of impl

Modified:
    jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorAccumModel.java
    jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorHealthPanel.java

Modified: jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorAccumModel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorAccumModel.java?rev=1381385&r1=1381384&r2=1381385&view=diff
==============================================================================
--- jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorAccumModel.java
(original)
+++ jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorAccumModel.java
Wed Sep  5 21:20:18 2012
@@ -22,6 +22,7 @@ import java.util.Collections;
 import java.util.HashMap;
 import java.util.LinkedList;
 import java.util.List;
+import java.util.Map;
 
 import org.apache.jmeter.monitor.model.ObjectFactory;
 import org.apache.jmeter.monitor.model.Status;
@@ -34,7 +35,7 @@ public class MonitorAccumModel implement
 
     private static final long serialVersionUID = 240L;
 
-    private final HashMap<String, List<MonitorModel>> serverListMap;
+    private final Map<String, List<MonitorModel>> serverListMap;
 
     /**
      * we use this to set the current monitorModel so that we can save the stats

Modified: jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorHealthPanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorHealthPanel.java?rev=1381385&r1=1381384&r2=1381385&view=diff
==============================================================================
--- jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorHealthPanel.java
(original)
+++ jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorHealthPanel.java
Wed Sep  5 21:20:18 2012
@@ -19,17 +19,17 @@ package org.apache.jmeter.visualizers;
 import java.awt.BorderLayout;
 import java.awt.Component;
 import java.awt.Dimension;
+import java.util.HashMap;
+import java.util.Map;
+
 import javax.swing.BoxLayout;
 import javax.swing.ImageIcon;
 import javax.swing.JLabel;
 import javax.swing.JPanel;
-
-import java.util.HashMap;
-
 import javax.swing.JScrollPane;
 
-import org.apache.jmeter.util.JMeterUtils;
 import org.apache.jmeter.samplers.Clearable;
+import org.apache.jmeter.util.JMeterUtils;
 
 /**
  * The health panel is responsible for showing the health of the servers. It
@@ -38,7 +38,7 @@ import org.apache.jmeter.samplers.Cleara
 public class MonitorHealthPanel extends JPanel implements MonitorListener, Clearable {
     private static final long serialVersionUID = 240L;
 
-    private final HashMap<String, ServerPanel> serverPanelMap = new HashMap<String,
ServerPanel>();
+    private final Map<String, ServerPanel> serverPanelMap = new HashMap<String,
ServerPanel>();
 
     private JPanel servers = null;
 



Mime
View raw message