dgraham 2003/03/10 21:24:55 Modified: src/share/org/apache/struts/action ActionServlet.java Log: Fixed javadoc error and added braces to one line blocks. Revision Changes Path 1.144 +12 -11 jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java Index: ActionServlet.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v retrieving revision 1.143 retrieving revision 1.144 diff -u -r1.143 -r1.144 --- ActionServlet.java 7 Feb 2003 05:42:45 -0000 1.143 +++ ActionServlet.java 11 Mar 2003 05:24:55 -0000 1.144 @@ -7,7 +7,7 @@ * * The Apache Software License, Version 1.1 * - * Copyright (c) 1999-2002 The Apache Software Foundation. All rights + * Copyright (c) 1999-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -225,7 +225,7 @@ * information is logged for this servlet. Accepts values 0 (off) and from * 1 (least serious) through 6 (most serious). [0] * <em>DEPRECATED - Configure the logging detail level in your - * underlying logging implementation.</li> + * underlying logging implementation.</em></li> * <li><strong>factory</strong> - The Java class name of the * <code>MessageResourcesFactory</code> used to create the application * <code>MessageResources</code> object. @@ -308,9 +308,7 @@ * @author Martin Cooper * @version $Revision$ $Date$ */ - -public class ActionServlet - extends HttpServlet { +public class ActionServlet extends HttpServlet { // ----------------------------------------------------- Instance Variables @@ -1129,6 +1127,7 @@ protected void initApplicationMessageResources(ModuleConfig config) throws ServletException { initModuleMessageResources(config); } + /** * <p>Initialize the application MessageResources for the specified * module.</p> @@ -1211,8 +1210,9 @@ configDigester.addRuleSet(new ConfigRuleSet()); for (int i = 0; i < registrations.length; i += 2) { URL url = this.getClass().getResource(registrations[i+1]); - if (url != null) + if (url != null) { configDigester.register(registrations[i], url.toString()); + } } // Add any custom RuleSet instances that have been specified @@ -1358,8 +1358,9 @@ // Register our local copy of the DTDs that we can find for (int i = 0; i < registrations.length; i += 2) { URL url = this.getClass().getResource(registrations[i+1]); - if (url != null) + if (url != null) { digester.register(registrations[i], url.toString()); + } } // Configure the processing rules that we need
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]