You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by jm...@apache.org on 2006/11/02 02:51:55 UTC

svn commit: r470180 - in /struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher: ActionContextCleanUp.java FilterDispatcher.java ServletActionRedirectResult.java

Author: jmitchell
Date: Wed Nov  1 17:51:54 2006
New Revision: 470180

URL: http://svn.apache.org/viewvc?view=rev&rev=470180
Log:
fix a couple of typos, add a todo

Modified:
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ActionContextCleanUp.java
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java
    struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ActionContextCleanUp.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ActionContextCleanUp.java?view=diff&rev=470180&r1=470179&r2=470180
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ActionContextCleanUp.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ActionContextCleanUp.java Wed Nov  1 17:51:54 2006
@@ -43,7 +43,7 @@
  * However, sometimes you may wish to access Struts features, including the
  * value stack, from within your SiteMesh decorators. Because {@link FilterDispatcher}
  * cleans up the {@link ActionContext}, your decorator won't have access to the
- * date you want.
+ * data you want.
  * <p/>
  * <p/>
  * By adding this filter, the {@link FilterDispatcher} will know to not clean up and

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java?view=diff&rev=470180&r1=470179&r2=470180
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java Wed Nov  1 17:51:54 2006
@@ -276,7 +276,7 @@
     }
 
     /**
-     * Fins a static resource
+     * Finds a static resource
      * 
      * @param name The resource name
      * @param response The request

Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java?view=diff&rev=470180&r1=470179&r2=470180
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/ServletActionRedirectResult.java Wed Nov  1 17:51:54 2006
@@ -42,9 +42,9 @@
  * standard redirect result.
  *
  * <p/>
- *
- * To pass parameters, the &lt;param&gt; ... &lt;/param&gt; tag. The following parameters will not be
- * passable becuase they are part of the config param for this particular result.
+ * @TODO - the below sentence is confusing and seems to be contradictory -- FIX ME
+ * To pass parameters, use the &lt;param&gt; ... &lt;/param&gt; tag. The following parameters will not be
+ * passed because they are part of the config param for this particular result.
  *
  * <ul>
  * 	<li>actionName</li>
@@ -109,7 +109,7 @@
  *    &lt;action name="gatherReportInfo" class="..."&gt;
  *       &lt;result name="showReportResult" type="redirect-action"&gt;
  *       	&lt;param name="actionName"&gt;generateReport&lt;/param&gt;
- *          &lt;param name="namespace="&gt;/genReport&lt;/param&gt;
+ *          &lt;param name="namespace"&gt;/genReport&lt;/param&gt;
  *          &lt;param name="reportType"&gt;pie&lt;/param&gt;
  *          &lt;param name="width"&gt;100&lt;/param&gt;
  *          &lt;param name="height"&gt;100&lt;/param&gt;