You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/10/10 22:16:07 UTC

svn commit: r1531099 - in /tomcat/trunk/java/org/apache: catalina/webresources/TomcatURLStreamHandlerFactory.java tomcat/InstrumentableClassLoader.java tomcat/util/net/AprEndpoint.java

Author: markt
Date: Thu Oct 10 20:16:06 2013
New Revision: 1531099

URL: http://svn.apache.org/r1531099
Log:
Javadoc fixes.

Modified:
    tomcat/trunk/java/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.java
    tomcat/trunk/java/org/apache/tomcat/InstrumentableClassLoader.java
    tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java

Modified: tomcat/trunk/java/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.java?rev=1531099&r1=1531098&r2=1531099&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.java (original)
+++ tomcat/trunk/java/org/apache/catalina/webresources/TomcatURLStreamHandlerFactory.java Thu Oct 10 20:16:06 2013
@@ -64,10 +64,10 @@ public class TomcatURLStreamHandlerFacto
      * Register this factory with the JVM. May be called more than once. The
      * implementation ensures that registration only occurs once.
      *
-     * @returns <code>true</code> if the factory is already registered with the
-     *          JVM or was successfully registered as a result of this call.
-     *          <code>false</code> if the factory was disabled prior to this
-     *          call.
+     * @return <code>true</code> if the factory is already registered with the
+     *         JVM or was successfully registered as a result of this call.
+     *         <code>false</code> if the factory was disabled prior to this
+     *         call.
      */
     public static boolean register() {
         return getInstanceInternal(true).isRegistered();
@@ -78,10 +78,10 @@ public class TomcatURLStreamHandlerFacto
      * Prevent this this factory from registering with the JVM. May be called
      * more than once.
      *
-     * @returns <code>true</code> if the factory is already disabled or was
-     *          successfully disabled as a result of this call.
-     *          <code>false</code> if the factory was already registered prior
-     *          to this call.
+     * @return <code>true</code> if the factory is already disabled or was
+     *         successfully disabled as a result of this call.
+     *         <code>false</code> if the factory was already registered prior
+     *         to this call.
 
      */
     public static boolean disable() {

Modified: tomcat/trunk/java/org/apache/tomcat/InstrumentableClassLoader.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/InstrumentableClassLoader.java?rev=1531099&r1=1531098&r2=1531099&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/InstrumentableClassLoader.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/InstrumentableClassLoader.java Thu Oct 10 20:16:06 2013
@@ -43,7 +43,7 @@ public interface InstrumentableClassLoad
      * classes loaded by this class loader after the invocation of this
      * method.
      *
-     * @param classFileTransformer The transformer to add to the class loader
+     * @param transformer The transformer to add to the class loader
      * @throws IllegalArgumentException if the {@literal transformer} is null.
      */
     void addTransformer(ClassFileTransformer transformer);
@@ -55,7 +55,7 @@ public interface InstrumentableClassLoad
      * However, any classes already instrumented by this transformer before
      * this method call will remain in their instramented state.
      *
-     * @param classFileTransformer The transformer to remove
+     * @param transformer The transformer to remove
      */
     void removeTransformer(ClassFileTransformer transformer);
 

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java?rev=1531099&r1=1531098&r2=1531099&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Thu Oct 10 20:16:06 2013
@@ -1158,8 +1158,8 @@ public class AprEndpoint extends Abstrac
         /**
          * Removes the specified socket from the poller.
          *
-         * @returns The configured timeout for the socket or zero if the socket
-         *          was not in the list of socket timeouts
+         * @return The configured timeout for the socket or zero if the socket
+         *         was not in the list of socket timeouts
          */
         public long remove(long socket) {
             long result = 0;



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