You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by ma...@apache.org on 2005/03/14 07:46:55 UTC

svn commit: r157399 - struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/action/Action.java

Author: martinc
Date: Sun Mar 13 22:46:54 2005
New Revision: 157399

URL: http://svn.apache.org/viewcvs?view=rev&rev=157399
Log:
Bugzilla #33876: Fix typos in Javadocs.

Modified:
    struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/action/Action.java

Modified: struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/action/Action.java
URL: http://svn.apache.org/viewcvs/struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/action/Action.java?view=diff&r1=157398&r2=157399
==============================================================================
--- struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/action/Action.java (original)
+++ struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/action/Action.java Sun Mar 13 22:46:54 2005
@@ -241,11 +241,10 @@
 
 
 	/**
-	 * Adds the specified errors keys into the appropriate request
-	 * attribute for use by the for use by the <html:errors> tag,
-	 * if any messages are required.
-	 * Initialize the attribute if it has not already been.
-	 * Otherwise, ensure that the request attribute is not set.
+	 * Adds the specified errors keys into the appropriate request attribute
+     * for use by the <html:errors> tag, if any messages are required.
+	 * Initialize the attribute if it has not already been. Otherwise, ensure
+     * that the request attribute is not set.
 	 *
 	 * @param request   The servlet request we are processing
 	 * @param errors  Errors object
@@ -309,9 +308,8 @@
      * <p>Return the specified data source for the current module.</p>
      *
      * @param request The servlet request we are processing
-     * @param key The key specified in the
-     *  <code>&lt;message-resources&gt;</code> element for the
-     *  requested bundle
+     * @param key     The key specified in the <code>&lt;data-sources&gt;</code>
+     *                element.
      *
      * @since Struts 1.1
      */
@@ -459,7 +457,8 @@
     /**
      * <p>Return <code>true</code> if there is a transaction token stored in
      * the user's current session, and the value submitted as a request
-     * parameter with this action matches it. Returns <code>false</code>.</p>
+     * parameter with this action matches it. Returns <code>false</code> under
+     * any of the following circumstances:</p>
      * <ul>
      * <li>No session associated with this request</li>
      * <li>No transaction token saved in the session</li>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org