rleland 2002/11/27 23:20:19
Modified: src/share/org/apache/struts/validator Resources.java
ValidatorPlugIn.java
Log:
Bug#: 14054 Change Docs to read module and not application module
Revision Changes Path
1.7 +6 -6
jakarta-struts/src/share/org/apache/struts/validator/Resources.java
Index: Resources.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/validator/Resources.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Resources.java 16 Nov 2002 08:23:09 -0000 1.6
+++ Resources.java 28 Nov 2002 07:20:18 -0000 1.7
@@ -135,14 +135,14 @@
*
* @deprecated This method can only return the resources for the default
* module. Use getMessageResources(HttpServletRequest) to get the
- * resources for the current application module.
+ * resources for the current module.
*/
public static MessageResources getMessageResources(ServletContext application) {
return (MessageResources)application.getAttribute(Globals.MESSAGES_KEY);
}
/**
- * Retrieve <code>MessageResources</code> for the application module.
+ * Retrieve <code>MessageResources</code> for the module.
* @param request the servlet request
*/
public static MessageResources getMessageResources(HttpServletRequest request) {
1.16 +5 -6
jakarta-struts/src/share/org/apache/struts/validator/ValidatorPlugIn.java
Index: ValidatorPlugIn.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/validator/ValidatorPlugIn.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ValidatorPlugIn.java 26 Nov 2002 02:37:40 -0000 1.15
+++ ValidatorPlugIn.java 28 Nov 2002 07:20:18 -0000 1.16
@@ -76,7 +76,6 @@
import org.apache.commons.validator.ValidatorResourcesInitializer;
import org.apache.struts.action.ActionServlet;
import org.apache.struts.action.PlugIn;
-import org.apache.struts.config.ApplicationConfig;
import org.apache.struts.config.ModuleConfig;
@@ -96,7 +95,7 @@
private static Log log = LogFactory.getLog(ValidatorPlugIn.class);
/**
- * The application configuration for our owning module.
+ * The module configuration for our owning module.
*/
private ModuleConfig config = null;
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>