click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r928169 - /click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
Date Sat, 27 Mar 2010 08:15:22 GMT
Author: sabob
Date: Sat Mar 27 08:15:22 2010
New Revision: 928169

URL: http://svn.apache.org/viewvc?rev=928169&view=rev
Log:
fix copy/paste error

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java?rev=928169&r1=928168&r2=928169&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java Sat Mar 27 08:15:22
2010
@@ -964,19 +964,6 @@ public class Menu extends AbstractContro
     }
 
     /**
-     * Return the menu with the given name.
-     *
-     * @param controlName the name of the control to get from the container
-     * @return the named control from the container if found or null otherwise
-     */
-    public Menu findMenuByName(String Name) {
-        if (hasControls()) {
-            return (Control) getControlMap().get(controlName);
-        }
-        return null;
-    }
-
-    /**
      * Find the root menu, or null if no root menu can be found.
      *
      * @return the root menu, or null if no root menu can be found.



Mime
View raw message