tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1242254 - in /tomcat/trunk/java/org/apache: catalina/connector/RequestFacade.java catalina/util/LifecycleMBeanBase.java tomcat/jni/Poll.java
Date Thu, 09 Feb 2012 09:41:13 GMT
Author: markt
Date: Thu Feb  9 09:41:13 2012
New Revision: 1242254

URL: http://svn.apache.org/viewvc?rev=1242254&view=rev
Log:
Fix Javadoc warnings

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/RequestFacade.java
    tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java
    tomcat/trunk/java/org/apache/tomcat/jni/Poll.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/RequestFacade.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/RequestFacade.java?rev=1242254&r1=1242253&r2=1242254&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/RequestFacade.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/RequestFacade.java Thu Feb  9 09:41:13
2012
@@ -1088,7 +1088,7 @@ public class RequestFacade implements Ht
 
     /**
      * Sets the response status to {@link
-     * HttpServletResponse.SC_SWITCHING_PROTOCOLS} and flushes the response.
+     * HttpServletResponse#SC_SWITCHING_PROTOCOLS} and flushes the response.
      * Protocol specific headers must have already been set before this method
      * is called.
      *

Modified: tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java?rev=1242254&r1=1242253&r2=1242254&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/util/LifecycleMBeanBase.java Thu Feb  9 09:41:13
2012
@@ -133,8 +133,8 @@ public abstract class LifecycleMBeanBase
 
     /**
      * Utility method to enable sub-classes to easily register additional
-     * components that don't implement {@link MBeanRegistration} with
-     * an MBean server.<br/>
+     * components that don't implement {@link JmxEnabled} with an MBean server.
+     * <br/>
      * Note: This method should only be used once {@link #initInternal()} has
      * been called and before {@link #destroyInternal()} has been called.
      *
@@ -173,8 +173,8 @@ public abstract class LifecycleMBeanBase
 
     /**
      * Utility method to enable sub-classes to easily unregister additional
-     * components that don't implement {@link MBeanRegistration} with
-     * an MBean server.<br/>
+     * components that don't implement {@link JmxEnabled} with an MBean server.
+     * <br/>
      * Note: This method should only be used once {@link #initInternal()} has
      * been called and before {@link #destroyInternal()} has been called.
      *

Modified: tomcat/trunk/java/org/apache/tomcat/jni/Poll.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/jni/Poll.java?rev=1242254&r1=1242253&r2=1242254&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/jni/Poll.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/jni/Poll.java Thu Feb  9 09:41:13 2012
@@ -155,8 +155,8 @@ public class Poll {
     /**
      * Make poll() return.
      *
-     * @param pollset
-     * @return
+     * @param   pollset
+     * @return  Negative APR error code
      */
     public static native int interrupt(long pollset);
 
@@ -164,7 +164,8 @@ public class Poll {
      * Check if interrupt() is allowed.
      *
      * @param pollset
-     * @return
+     * @return  <code>true</true> if {@link #interrupt(long)} is allowed, else
+     *          <code>false</code>
      */
     public static native boolean wakeable(long pollset);
 }



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


Mime
View raw message