Author: mrdon
Date: Thu Apr 27 21:48:51 2006
New Revision: 397756

URL: http://svn.apache.org/viewcvs?rev=397756&view=rev
Log:
Improving the javadoc to explain a NPE will be thrown when the module
cannot be found
STR-2805
---This line, and those below, will be ignored--

M    taglib/src/main/java/org/apache/struts/taglib/TagUtils.java

Modified:
    
struts/action/trunk/taglib/src/main/java/org/apache/struts/taglib/TagUtils.java

Modified: 
struts/action/trunk/taglib/src/main/java/org/apache/struts/taglib/TagUtils.java
URL: 
http://svn.apache.org/viewcvs/struts/action/trunk/taglib/src/main/java/org/apache/struts/taglib/TagUtils.java?rev=397756&r1=397755&r2=397756&view=diff
==============================================================================
--- 
struts/action/trunk/taglib/src/main/java/org/apache/struts/taglib/TagUtils.java 
(original)
+++ 
struts/action/trunk/taglib/src/main/java/org/apache/struts/taglib/TagUtils.java 
Thu Apr 27 21:48:51 2006
@@ -714,11 +714,12 @@
 
     /**
      * Return the specified ModuleConfig object for the given prefix if it
-     * exists, null if otherwise.
+     * exists, otherwise a NullPointerException will be thrown.
      *
      * @param module      The module prefix
      * @param pageContext The page context.
      * @return the ModuleConfig object
+     * @throws NullPointerException Thrown when module cannot be found
      */
     public ModuleConfig getModuleConfig(String module, PageContext 
pageContext) {
         ModuleConfig config =



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

Reply via email to