Author: sebb
Date: Mon Jan 29 17:12:38 2007
New Revision: 501268

URL: http://svn.apache.org/viewvc?view=rev&rev=501268
Log:
No need to change back to LINE_END ...

Modified:
    
jakarta/jmeter/branches/rel-2-2/src/core/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.java

Modified: 
jakarta/jmeter/branches/rel-2-2/src/core/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/src/core/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.java?view=diff&rev=501268&r1=501267&r2=501268
==============================================================================
--- 
jakarta/jmeter/branches/rel-2-2/src/core/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-2/src/core/org/apache/jmeter/testbeans/gui/GenericTestBeanCustomizer.java
 Mon Jan 29 17:12:38 2007
@@ -367,15 +367,15 @@
         * @return the index of that property in the descriptors array, or -1 if
         *         there's no property of this name.
         */
-       private int descriptorIndex(String name) // NOTUSED
-       {
-               for (int i = 0; i < descriptors.length; i++) {
-                       if (descriptors[i].getName().equals(name)) {
-                               return i;
-                       }
-               }
-               return -1;
-       }
+//     private int descriptorIndex(String name) // NOTUSED
+//     {
+//             for (int i = 0; i < descriptors.length; i++) {
+//                     if (descriptors[i].getName().equals(name)) {
+//                             return i;
+//                     }
+//             }
+//             return -1;
+//     }
 
        /**
         * Initialize the GUI.
@@ -385,7 +385,7 @@
 
                GridBagConstraints cl = new GridBagConstraints(); // for labels
                cl.gridx = 0;
-               cl.anchor = GridBagConstraints.EAST;// JDK1.4: was LINE_END
+               cl.anchor = GridBagConstraints.EAST;
                cl.insets = new Insets(0, 1, 0, 1);
 
                GridBagConstraints ce = new GridBagConstraints(); // for editors
@@ -442,9 +442,7 @@
 
                        cl.gridy = y;
                        cl.gridwidth = multiLineEditor ? 2 : 1;
-                       cl.anchor = multiLineEditor ? GridBagConstraints.CENTER 
: GridBagConstraints.EAST;// JDK1.4:
-                                                                               
                                                                                
                                // was
-                                                                               
                                                                                
                                // LINE_END
+                       cl.anchor = multiLineEditor ? GridBagConstraints.CENTER 
: GridBagConstraints.EAST;
                        currentPanel.add(label, cl);
 
                        ce.gridx = multiLineEditor ? 0 : 1;



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to