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 <param> ... </param> 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 <param> ... </param> 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 @@
* <action name="gatherReportInfo" class="...">
* <result name="showReportResult" type="redirect-action">
* <param name="actionName">generateReport</param>
- * <param name="namespace=">/genReport</param>
+ * <param name="namespace">/genReport</param>
* <param name="reportType">pie</param>
* <param name="width">100</param>
* <param name="height">100</param>