Author: lukaszlenart
Date: Tue Apr 10 17:15:38 2012
New Revision: 1311872

URL: http://svn.apache.org/viewvc?rev=1311872&view=rev
Log:
WW-3793 corrects name of PlainText Result in documentation to be plainText and 
not plaintext

Modified:
    
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java

Modified: 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java?rev=1311872&r1=1311871&r2=1311872&view=diff
==============================================================================
--- 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java
 (original)
+++ 
struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/PlainTextResult.java
 Tue Apr 10 17:15:38 2012
@@ -35,7 +35,7 @@ import java.nio.charset.Charset;
 /**
  * <!-- START SNIPPET: description -->
  *
- * A result that send the content out as plain text. Usefull typically when 
needed
+ * A result that send the content out as plain text. Useful typically when 
needed
  * to display the raw content of a JSP or Html file for example.
  *
  * <!-- END SNIPPET: description -->
@@ -57,12 +57,12 @@ import java.nio.charset.Charset;
  * <!-- START SNIPPET: example -->
  *
  * &lt;action name="displayJspRawContent" &gt;
- *   &lt;result type="plaintext"&gt;/myJspFile.jsp&lt;/result&gt;
+ *   &lt;result type="plainText"&gt;/myJspFile.jsp&lt;/result&gt;
  * &lt;/action&gt;
  *
  *
  * &lt;action name="displayJspRawContent" &gt;
- *   &lt;result type="plaintext"&gt;
+ *   &lt;result type="plainText"&gt;
  *      &lt;param name="location"&gt;/myJspFile.jsp&lt;/param&gt;
  *      &lt;param name="charSet"&gt;UTF-8&lt;/param&gt;
  *   &lt;/result&gt;


Reply via email to