jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1381735 - /jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java
Date Thu, 06 Sep 2012 20:04:02 GMT
Author: pmouawad
Date: Thu Sep  6 20:04:02 2012
New Revision: 1381735

URL: http://svn.apache.org/viewvc?rev=1381735&view=rev
Log:
Comment unused method
make attribute a local parameter

Modified:
    jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java

Modified: jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java?rev=1381735&r1=1381734&r2=1381735&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java
(original)
+++ jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java
Thu Sep  6 20:04:02 2012
@@ -67,9 +67,6 @@ public class LDAPArgumentsPanel extends 
     // needs to be accessible from test code
     transient ObjectTableModel tableModel; // Only contains LDAPArgument entries
 
-    /** A button for adding new arguments to the table. */
-    private JButton add;
-
     /** A button for removing arguments from the table. */
     private JButton delete;
 
@@ -306,14 +303,14 @@ public class LDAPArgumentsPanel extends 
      * Functor("setAlwaysEncoded"), new Functor("setUseEquals") }, new Class[] {
      * String.class, String.class, Boolean.class, Boolean.class }); }
      */
-    /**
-     * Resize the table columns to appropriate widths.
-     *
-     * @param _table
-     *            the table to resize columns for
-     */
-    private void sizeColumns(JTable _table) {
-    }
+//    /**
+//     * Resize the table columns to appropriate widths.
+//     *
+//     * @param _table
+//     *            the table to resize columns for
+//     */
+//    private void sizeColumns(JTable _table) {
+//    }
 
     /**
      * Create the main GUI panel which contains the argument table.
@@ -345,7 +342,8 @@ public class LDAPArgumentsPanel extends 
      * @return a GUI panel containing the buttons
      */
     private JPanel makeButtonPanel() {
-        add = new JButton(JMeterUtils.getResString("add")); //$NON-NLS-1$
+        /** A button for adding new arguments to the table. */
+        JButton add = new JButton(JMeterUtils.getResString("add")); //$NON-NLS-1$
         add.setActionCommand(ADD);
         add.setEnabled(true);
 
@@ -376,6 +374,6 @@ public class LDAPArgumentsPanel extends 
         add(makeButtonPanel(), BorderLayout.SOUTH);
 
         table.revalidate();
-        sizeColumns(table);
+        //sizeColumns(table);
     }
 }



Mime
View raw message