jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1380033 - in /jmeter/trunk/src/jorphan/org/apache/jorphan/gui: AbstractTreeTableModel.java DefaultTreeTableModel.java
Date Sun, 02 Sep 2012 19:05:36 GMT
Author: pmouawad
Date: Sun Sep  2 19:05:36 2012
New Revision: 1380033

URL: http://svn.apache.org/viewvc?rev=1380033&view=rev
Log:
Remove useless constructor which has an unused parameter.
Use interface instead of Impl

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/gui/AbstractTreeTableModel.java
    jmeter/trunk/src/jorphan/org/apache/jorphan/gui/DefaultTreeTableModel.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/gui/AbstractTreeTableModel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/gui/AbstractTreeTableModel.java?rev=1380033&r1=1380032&r2=1380033&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/gui/AbstractTreeTableModel.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/gui/AbstractTreeTableModel.java Sun Sep  2
19:05:36 2012
@@ -36,15 +36,15 @@ public abstract class AbstractTreeTableM
     protected final TreeNode rootNode;
     protected final EventListenerList listener = new EventListenerList();
 
-    protected transient final ArrayList<Object> objects = new ArrayList<Object>();
+    protected transient final List<Object> objects = new ArrayList<Object>();
 
     protected transient final List<String> headers = new ArrayList<String>();
 
-    protected transient final ArrayList<Class<?>> classes = new ArrayList<Class<?>>();
+    protected transient final List<Class<?>> classes = new ArrayList<Class<?>>();
 
-    protected transient final ArrayList<Functor> readFunctors;
+    protected transient final List<Functor> readFunctors;
 
-    protected transient final ArrayList<Functor> writeFunctors;
+    protected transient final List<Functor> writeFunctors;
 
     public AbstractTreeTableModel(TreeNode root) {
         this.rootNode = root;
@@ -52,10 +52,6 @@ public abstract class AbstractTreeTableM
         writeFunctors = new ArrayList<Functor>();
     }
 
-    public AbstractTreeTableModel(TreeNode root, boolean editable) {
-        this(root);
-    }
-
     public AbstractTreeTableModel(String[] headers,
             Functor[] readFunctors,
             Functor[] writeFunctors,

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/gui/DefaultTreeTableModel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/gui/DefaultTreeTableModel.java?rev=1380033&r1=1380032&r2=1380033&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/gui/DefaultTreeTableModel.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/gui/DefaultTreeTableModel.java Sun Sep  2
19:05:36 2012
@@ -39,14 +39,6 @@ public class DefaultTreeTableModel exten
     }
 
     /**
-     * @param root
-     * @param editable
-     */
-    public DefaultTreeTableModel(TreeNode root, boolean editable) {
-        super(root, editable);
-    }
-
-    /**
      * @param headers
      * @param readFunctors
      * @param writeFunctors



Mime
View raw message