Author: markt
Date: Tue Nov 17 22:35:41 2009
New Revision: 881582

URL: http://svn.apache.org/viewvc?rev=881582&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48150
Correct JavaDoc typos. Patch provided by gingyang.xu

Modified:
    tomcat/trunk/java/javax/servlet/GenericServlet.java
    tomcat/trunk/java/javax/servlet/http/HttpServlet.java
    tomcat/trunk/java/javax/servlet/jsp/JspWriter.java
    tomcat/trunk/java/javax/servlet/jsp/PageContext.java
    tomcat/trunk/java/javax/servlet/jsp/SkipPageException.java
    tomcat/trunk/java/javax/servlet/jsp/tagext/JspFragment.java
    tomcat/trunk/java/javax/servlet/jsp/tagext/PageData.java
    tomcat/trunk/java/javax/servlet/jsp/tagext/SimpleTagSupport.java
    tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java
    tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryValidator.java
    tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java

Modified: tomcat/trunk/java/javax/servlet/GenericServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/GenericServlet.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/GenericServlet.java (original)
+++ tomcat/trunk/java/javax/servlet/GenericServlet.java Tue Nov 17 22:35:41 2009
@@ -197,7 +197,7 @@
      * <code>super.init(config)</code>.
      *
      * @param config                   the <code>ServletConfig</code> object
-     *                                 that contains configutation
+     *                                 that contains configuration
      *                                 information for this servlet
      *
      * @exception ServletException     if an exception occurs that

Modified: tomcat/trunk/java/javax/servlet/http/HttpServlet.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/HttpServlet.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/http/HttpServlet.java (original)
+++ tomcat/trunk/java/javax/servlet/http/HttpServlet.java Tue Nov 17 22:35:41 
2009
@@ -228,7 +228,7 @@
      * @param req   the request object that is passed to the servlet
      *
      * @param resp  the response object that the servlet
-     *                  uses to return the headers to the clien
+     *                  uses to return the headers to the client
      *
      * @exception IOException   if an input or output error occurs
      *

Modified: tomcat/trunk/java/javax/servlet/jsp/JspWriter.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/JspWriter.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/JspWriter.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/JspWriter.java Tue Nov 17 22:35:41 2009
@@ -132,7 +132,7 @@
      * underlying writer.
      *
      * @param      b   The <code>boolean</code> to be printed
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(boolean b) throws IOException;
@@ -143,7 +143,7 @@
      * underlying writer.
      *
      * @param      c   The <code>char</code> to be printed
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(char c) throws IOException;
@@ -156,7 +156,7 @@
      *
      * @param      i   The <code>int</code> to be printed
      * @see        java.lang.Integer#toString(int)
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(int i) throws IOException;
@@ -169,7 +169,7 @@
      *
      * @param      l   The <code>long</code> to be printed
      * @see        java.lang.Long#toString(long)
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(long l) throws IOException;
@@ -182,7 +182,7 @@
      *
      * @param      f   The <code>float</code> to be printed
      * @see        java.lang.Float#toString(float)
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(float f) throws IOException;
@@ -195,7 +195,7 @@
      *
      * @param      d   The <code>double</code> to be printed
      * @see        java.lang.Double#toString(double)
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(double d) throws IOException;
@@ -208,7 +208,7 @@
      * @param      s   The array of chars to be printed
      *
      * @throws  NullPointerException  If <code>s</code> is <code>null</code>
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(char s[]) throws IOException;
@@ -220,7 +220,7 @@
      * to the underlying writer.
      *
      * @param      s   The <code>String</code> to be printed
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(String s) throws IOException;
@@ -233,7 +233,7 @@
      *
      * @param      obj   The <code>Object</code> to be printed
      * @see        java.lang.Object#toString()
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void print(Object obj) throws IOException;
@@ -243,7 +243,7 @@
      * line separator string is defined by the system property
      * <code>line.separator</code>, and is not necessarily a single newline
      * character (<code>'\n'</code>).
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println() throws IOException;
@@ -254,7 +254,7 @@
      * <code>{...@link #println()}</code>.
      *
      * @param      x the boolean to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(boolean x) throws IOException;
@@ -265,7 +265,7 @@
      * #println()}</code>.
      *
      * @param      x the char to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(char x) throws IOException;
@@ -276,7 +276,7 @@
      * #println()}</code>.
      *
      * @param      x the int to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(int x) throws IOException;
@@ -287,7 +287,7 @@
      * <code>{...@link #println()}</code>.
      *
      * @param      x the long to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(long x) throws IOException;
@@ -298,7 +298,7 @@
      * <code>{...@link #println()}</code>.
      *
      * @param      x the float to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(float x) throws IOException;
@@ -309,7 +309,7 @@
      * #print(double)}</code> and then <code>{...@link #println()}</code>.
      *
      * @param      x the double to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(double x) throws IOException;
@@ -320,7 +320,7 @@
      * <code>println()</code>.
      *
      * @param      x the char[] to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(char x[]) throws IOException;
@@ -331,7 +331,7 @@
      * <code>{...@link #println()}</code>.
      *
      * @param      x the String to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(String x) throws IOException;
@@ -342,7 +342,7 @@
      * <code>{...@link #println()}</code>.
      *
      * @param      x the Object to write
-     * @throws    java.io.IOException If an error occured while writing
+     * @throws    java.io.IOException If an error occurred while writing
      */
 
     abstract public void println(Object x) throws IOException;

Modified: tomcat/trunk/java/javax/servlet/jsp/PageContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/PageContext.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/PageContext.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/PageContext.java Tue Nov 17 22:35:41 
2009
@@ -433,7 +433,7 @@
      * ServletResponse state after invoking this call.
      *
      * <p>
-     * This method is kept for backwards compatiblity reasons.  Newly
+     * This method is kept for backwards compatibility reasons.  Newly
      * generated code should use PageContext.handlePageException(Throwable).
      *
      * @param e the exception to be handled

Modified: tomcat/trunk/java/javax/servlet/jsp/SkipPageException.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/SkipPageException.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/SkipPageException.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/SkipPageException.java Tue Nov 17 
22:35:41 2009
@@ -20,7 +20,7 @@
  * Exception to indicate the calling page must cease evaluation.
  * Thrown by a simple tag handler to indicate that the remainder of 
  * the page must not be evaluated.  The result is propagated back to
- * the pagein the case where one tag invokes another (as can be
+ * the page in the case where one tag invokes another (as can be
  * the case with tag files).  The effect is similar to that of a 
  * Classic Tag Handler returning Tag.SKIP_PAGE from doEndTag().
  * Jsp Fragments may also throw this exception.  This exception

Modified: tomcat/trunk/java/javax/servlet/jsp/tagext/JspFragment.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/tagext/JspFragment.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/tagext/JspFragment.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/tagext/JspFragment.java Tue Nov 17 
22:35:41 2009
@@ -60,7 +60,7 @@
      *
      * @param out The Writer to output the fragment to, or null if 
      *     output should be sent to JspContext.getOut().
-     * @throws javax.servlet.jsp.JspException Thrown if an error occured
+     * @throws javax.servlet.jsp.JspException Thrown if an error occurred
      *     while invoking this fragment.
      * @throws javax.servlet.jsp.SkipPageException Thrown if the page
      *     that (either directly or indirectly) invoked the tag handler that

Modified: tomcat/trunk/java/javax/servlet/jsp/tagext/PageData.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/tagext/PageData.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/tagext/PageData.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/tagext/PageData.java Tue Nov 17 
22:35:41 2009
@@ -26,7 +26,7 @@
  *
  * <p>
  * Objects of this type are generated by the JSP translator, e.g.
- * when being pased to a TagLibraryValidator instance.
+ * when being passed to a TagLibraryValidator instance.
  */
 
 abstract public class PageData {
@@ -41,7 +41,7 @@
     
     /**
      * Returns an input stream on the XML view of a JSP page.
-     * The stream is encoded in UTF-8.  Recall tht the XML view of a 
+     * The stream is encoded in UTF-8.  Recall that the XML view of a 
      * JSP page has the include directives expanded.
      * 
      * @return An input stream on the document.

Modified: tomcat/trunk/java/javax/servlet/jsp/tagext/SimpleTagSupport.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/tagext/SimpleTagSupport.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/tagext/SimpleTagSupport.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/tagext/SimpleTagSupport.java Tue Nov 17 
22:35:41 2009
@@ -156,7 +156,7 @@
      * indicate in the description subelement an observable type.
      * The type should be a subtype of the tag handler implementation
      * class or void.
-     * This addititional constraint can be exploited by a
+     * This additional constraint can be exploited by a
      * specialized container that knows about that specific tag library,
      * as in the case of the JSP standard tag library.
      *

Modified: tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryInfo.java Tue Nov 17 
22:35:41 2009
@@ -230,7 +230,7 @@
      * Returns an array of TagLibraryInfo objects representing the entire set 
      * of tag libraries (including this TagLibraryInfo) imported by taglib 
      * directives in the translation unit that references this TagLibraryInfo. 
-     * If a tag library is imported more than once and bound to different 
prefices, 
+     * If a tag library is imported more than once and bound to different 
prefixes, 
      * only the TagLibraryInfo bound to the first prefix must be included 
      * in the returned array.
      * 

Modified: tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryValidator.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryValidator.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryValidator.java 
(original)
+++ tomcat/trunk/java/javax/servlet/jsp/tagext/TagLibraryValidator.java Tue Nov 
17 22:35:41 2009
@@ -28,7 +28,7 @@
  * arguments with a tag library.
  *
  * <p>
- * The JSP container is reponsible for locating an appropriate
+ * The JSP container is responsible for locating an appropriate
  * instance of the appropriate subclass by
  *
  * <ul>

Modified: tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java?rev=881582&r1=881581&r2=881582&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java (original)
+++ tomcat/trunk/java/javax/servlet/jsp/tagext/TagSupport.java Tue Nov 17 
22:35:41 2009
@@ -54,7 +54,7 @@
      * indicate in the description subelement an observable type.
      * The type should be a subtype of the tag handler implementation
      * class or void.
-     * This addititional constraint can be exploited by a
+     * This additional constraint can be exploited by a
      * specialized container that knows about that specific tag library,
      * as in the case of the JSP standard tag library.
      *



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to