You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by mr...@apache.org on 2006/04/28 06:48:53 UTC
svn commit: r397756 -
/struts/action/trunk/taglib/src/main/java/org/apache/struts/taglib/TagUtils.java
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org