You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by me...@apache.org on 2009/07/08 08:26:16 UTC

svn commit: r792048 - /incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java

Author: medgar
Date: Wed Jul  8 06:26:16 2009
New Revision: 792048

URL: http://svn.apache.org/viewvc?rev=792048&view=rev
Log:
improve accessController Javadoc

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

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java?rev=792048&r1=792047&r2=792048&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java (original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java Wed Jul  8 06:26:16 2009
@@ -614,6 +614,7 @@
      * where the rolenames are derived from the {@link #getRoles()} property.
      *
      * @return true if the user is in one of the menu roles, or false otherwise
+     * @throws IllegalStateException if the menu accessController is not defined
      */
     public boolean isUserInRoles() {
         if (getAccessController() == null) {