click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r770637 - /incubator/click/trunk/click/framework/src/org/apache/click/control/Form.java
Date Fri, 01 May 2009 11:24:38 GMT
Author: sabob
Date: Fri May  1 11:24:37 2009
New Revision: 770637

URL: http://svn.apache.org/viewvc?rev=770637&view=rev
Log:
no need to scan recursively when removing field

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/control/Form.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/Form.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/Form.java?rev=770637&r1=770636&r2=770637&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/control/Form.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/control/Form.java Fri May 
1 11:24:37 2009
@@ -858,7 +858,7 @@
      * @return true if the named field was removed or false otherwise
      */
     public boolean removeField(String name) {
-        Control control = ContainerUtils.findControlByName(this, name);
+        Control control = getControl(name);
 
         if (control != null) {
             return remove(control);



Mime
View raw message