tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r981490 - in /tomcat/trunk/java: javax/servlet/FilterConfig.java org/apache/catalina/core/ApplicationContext.java org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java org/apache/jasper/xmlparser/XMLEncodingDetector.java
Date Mon, 02 Aug 2010 12:52:11 GMT
Author: rjung
Date: Mon Aug  2 12:52:11 2010
New Revision: 981490

URL: http://svn.apache.org/viewvc?rev=981490&view=rev
Log:
Javadocs fix: @returns -> @return.

Modified:
    tomcat/trunk/java/javax/servlet/FilterConfig.java
    tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java
    tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java
    tomcat/trunk/java/org/apache/jasper/xmlparser/XMLEncodingDetector.java

Modified: tomcat/trunk/java/javax/servlet/FilterConfig.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/FilterConfig.java?rev=981490&r1=981489&r2=981490&view=diff
==============================================================================
--- tomcat/trunk/java/javax/servlet/FilterConfig.java (original)
+++ tomcat/trunk/java/javax/servlet/FilterConfig.java Mon Aug  2 12:52:11 2010
@@ -39,8 +39,8 @@ public interface FilterConfig {
      * Returns a reference to the {@link ServletContext} in which the caller is
      * executing.
      * 
-     * @returns {@link ServletContext} object, used by the caller to interact
-     *          with its servlet container
+     * @return {@link ServletContext} object, used by the caller to interact
+     *         with its servlet container
      * 
      * @seeServletContext
      */
@@ -55,8 +55,8 @@ public interface FilterConfig {
      *            <code>String</code> specifying the name of the initialization
      *            parameter
      * 
-     * @returns <code>String</code> containing the value of the initialization
-     *          parameter
+     * @return <code>String</code> containing the value of the initialization
+     *         parameter
      */
     public String getInitParameter(String name);
 
@@ -65,8 +65,8 @@ public interface FilterConfig {
      * <code>Enumeration</code> of <code>String</code> objects, or
an empty
      * <code>Enumeration</code> if the filter has no initialization parameters.
      * 
-     * @returns <code>Enumeration</code> of <code>String</code> objects
-     *          containing the names of the filter's initialization parameters
+     * @return <code>Enumeration</code> of <code>String</code> objects
+     *         containing the names of the filter's initialization parameters
      */
     public Enumeration<String> getInitParameterNames();
 

Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=981490&r1=981489&r2=981490&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContext.java Mon Aug  2 12:52:11
2010
@@ -863,7 +863,7 @@ public class ApplicationContext
      * Add filter to context.
      * @param   filterName  Name of filter to add
      * @param   filterClass Name of filter class
-     * @returns <code>null</code> if the filter has already been fully defined,
+     * @return  <code>null</code> if the filter has already been fully defined,
      *          else a {@link FilterRegistration.Dynamic} object that can be
      *          used to further configure the filter
      * @throws IllegalStateException if the context has already been initialised
@@ -883,7 +883,7 @@ public class ApplicationContext
      * Add filter to context.
      * @param   filterName  Name of filter to add
      * @param   filter      Filter to add
-     * @returns <code>null</code> if the filter has already been fully defined,
+     * @return  <code>null</code> if the filter has already been fully defined,
      *          else a {@link FilterRegistration.Dynamic} object that can be
      *          used to further configure the filter
      * @throws IllegalStateException if the context has already been initialised
@@ -903,7 +903,7 @@ public class ApplicationContext
      * Add filter to context.
      * @param   filterName  Name of filter to add
      * @param   filterClass Class of filter to add
-     * @returns <code>null</code> if the filter has already been fully defined,
+     * @return  <code>null</code> if the filter has already been fully defined,
      *          else a {@link FilterRegistration.Dynamic} object that can be
      *          used to further configure the filter
      * @throws IllegalStateException if the context has already been initialised
@@ -992,7 +992,7 @@ public class ApplicationContext
      * Add servlet to context.
      * @param   servletName  Name of servlet to add
      * @param   servletClass Name of servlet class
-     * @returns <code>null</code> if the servlet has already been fully defined,
+     * @return  <code>null</code> if the servlet has already been fully defined,
      *          else a {@link ServletRegistration.Dynamic} object that can be
      *          used to further configure the servlet
      * @throws IllegalStateException if the context has already been initialised
@@ -1012,7 +1012,7 @@ public class ApplicationContext
      * Add servlet to context.
      * @param   servletName Name of servlet to add
      * @param   servlet     Servlet instance to add
-     * @returns <code>null</code> if the servlet has already been fully defined,
+     * @return  <code>null</code> if the servlet has already been fully defined,
      *          else a {@link ServletRegistration.Dynamic} object that can be
      *          used to further configure the servlet
      * @throws IllegalStateException if the context has already been initialised
@@ -1032,7 +1032,7 @@ public class ApplicationContext
      * Add servlet to context.
      * @param   servletName  Name of servlet to add
      * @param   servletClass Class of servlet to add
-     * @returns <code>null</code> if the servlet has already been fully defined,
+     * @return  <code>null</code> if the servlet has already been fully defined,
      *          else a {@link ServletRegistration.Dynamic} object that can be
      *          used to further configure the servlet
      * @throws IllegalStateException if the context has already been initialised

Modified: tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java?rev=981490&r1=981489&r2=981490&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/JmxRemoteLifecycleListener.java Mon Aug 
2 12:52:11 2010
@@ -77,7 +77,7 @@ public class JmxRemoteLifecycleListener 
     /**
      * Get the port on which the Platform RMI server is exported. This is the
      * port that is normally chosen by the RMI stack.
-     * @returns The port number
+     * @return The port number
      */
     public int getRmiServerPortPlatform() {
         return rmiServerPortPlatform;
@@ -94,7 +94,7 @@ public class JmxRemoteLifecycleListener 
     
     /**
      * Get the port on which the Platform RMI registry is exported.
-     * @returns The port number
+     * @return The port number
      */
     public int getRmiRegistryPortPlatform() {
         return rmiRegistryPortPlatform;
@@ -112,7 +112,7 @@ public class JmxRemoteLifecycleListener 
      * Get the flag that indicates that local ports should be used for all
      * connections. If using SSH tunnels, or similar, this should be set to
      * true to ensure the RMI client uses the tunnel.
-     * @returns <code>true</code> if local ports should be used
+     * @return <code>true</code> if local ports should be used
      */
     public boolean getUseLocalPorts() {
         return useLocalPorts;

Modified: tomcat/trunk/java/org/apache/jasper/xmlparser/XMLEncodingDetector.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/xmlparser/XMLEncodingDetector.java?rev=981490&r1=981489&r2=981490&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/xmlparser/XMLEncodingDetector.java (original)
+++ tomcat/trunk/java/org/apache/jasper/xmlparser/XMLEncodingDetector.java Mon Aug  2 12:52:11
2010
@@ -999,8 +999,8 @@ public class XMLEncodingDetector {
      *                     boundary will be signaled by the return
      *                     value.
      *
-     * @returns Returns true if the entity changed as a result of this
-     *          load operation.
+     * @return Returns true if the entity changed as a result of this
+     *         load operation.
      */
     final boolean load(int offset, boolean changeEntity)
         throws IOException {
@@ -1598,7 +1598,7 @@ public class XMLEncodingDetector {
      * identified as a high surrogate.
      *
      * @param buf The StringBuffer to append the read surrogates to.
-     * @returns True if it succeeded.
+     * @return True if it succeeded.
      */
     private boolean scanSurrogates(XMLStringBuffer buf)
         throws IOException, JasperException {



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


Mime
View raw message