Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48143
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 17 Nov 2009 22:13:30 +0000 (22:13 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 17 Nov 2009 22:13:30 +0000 (22:13 +0000)
Javadoc updates. Patch provide by sebb.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@881567 13f79535-47bb-0310-9956-ffa450edef68

40 files changed:
java/javax/servlet/SessionCookieConfig.java
java/org/apache/catalina/ant/jmx/JMXAccessorCreateTask.java
java/org/apache/catalina/core/ApplicationFilterChain.java
java/org/apache/catalina/core/StandardContextValve.java
java/org/apache/catalina/core/StandardEngineValve.java
java/org/apache/catalina/core/StandardHostValve.java
java/org/apache/catalina/core/StandardWrapperValve.java
java/org/apache/catalina/ha/ClusterManager.java
java/org/apache/catalina/ha/session/DeltaSession.java
java/org/apache/catalina/ha/tcp/SimpleTcpCluster.java
java/org/apache/catalina/manager/StatusTransformer.java
java/org/apache/catalina/realm/CombinedRealm.java
java/org/apache/catalina/realm/LockOutRealm.java
java/org/apache/catalina/startup/Embedded.java
java/org/apache/catalina/startup/WebRuleSet.java
java/org/apache/catalina/tribes/group/ChannelCoordinator.java
java/org/apache/catalina/tribes/io/ChannelData.java
java/org/apache/catalina/tribes/io/ObjectReader.java
java/org/apache/catalina/tribes/io/ReplicationStream.java
java/org/apache/catalina/tribes/io/XByteBuffer.java
java/org/apache/catalina/tribes/membership/McastServiceImpl.java
java/org/apache/catalina/tribes/membership/MemberImpl.java
java/org/apache/catalina/tribes/membership/Membership.java
java/org/apache/catalina/tribes/transport/bio/util/LinkObject.java
java/org/apache/catalina/tribes/transport/nio/NioReceiver.java
java/org/apache/catalina/users/MemoryUserDatabase.java
java/org/apache/catalina/valves/RemoteIpValve.java
java/org/apache/coyote/http11/Http11Processor.java
java/org/apache/jasper/compiler/ParserController.java
java/org/apache/jasper/compiler/TagFileProcessor.java
java/org/apache/jasper/compiler/TldLocationsCache.java
java/org/apache/naming/HandlerRef.java
java/org/apache/naming/ServiceRef.java
java/org/apache/naming/resources/BaseDirContext.java
java/org/apache/tomcat/buildutil/Txt2Html.java
java/org/apache/tomcat/util/digester/SetPropertiesRule.java
java/org/apache/tomcat/util/digester/SetPropertyRule.java
java/org/apache/tomcat/util/modeler/BaseModelMBean.java
java/org/apache/tomcat/util/net/NioBlockingSelector.java
java/org/apache/tomcat/util/net/SSLSessionManager.java

index 4678e45..80637f6 100644 (file)
@@ -79,8 +79,9 @@ public interface SessionCookieConfig {
     public boolean isSecure();
 
     /**
+     * Sets the maximum age.
      * 
-     * @param maxAge
+     * @param MaxAge the maximum age to set
      * @throws IllegalStateException
      */
     public void setMaxAge(int MaxAge);
index 56e9559..3bddc1b 100644 (file)
@@ -95,7 +95,7 @@ public class JMXAccessorCreateTask extends JMXAccessorTask {
     }
     
     /**
-     * @param classLoader The classLoader to set.
+     * @param classLoaderName The classLoader to set.
      */
     public void setClassLoader(String classLoaderName) {
         this.classLoader = classLoaderName;
index 49da22a..0082aad 100644 (file)
@@ -324,13 +324,10 @@ final class ApplicationFilterChain implements FilterChain, CometFilterChain {
 
 
     /**
-     * Invoke the next filter in this chain, passing the specified request
-     * and response.  If there are no more filters in this chain, invoke
-     * the <code>service()</code> method of the servlet itself.
-     *
-     * @param request The servlet request we are processing
-     * @param response The servlet response we are creating
-     *
+     * Process the event, using the security manager if the option is enabled.
+     * 
+     * @param event the event to process
+     * 
      * @exception IOException if an input/output error occurs
      * @exception ServletException if a servlet exception occurs
      */
index 5b91e3e..4ddc07b 100644 (file)
@@ -112,7 +112,6 @@ final class StandardContextValve
      *
      * @param request Request to be processed
      * @param response Response to be produced
-     * @param valveContext Valve context used to forward to the next Valve
      *
      * @exception IOException if an input/output error occurred
      * @exception ServletException if a servlet error occurred
@@ -230,7 +229,7 @@ final class StandardContextValve
      *
      * @param request Request to be processed
      * @param response Response to be produced
-     * @param valveContext Valve context used to forward to the next Valve
+     * @param event
      *
      * @exception IOException if an input/output error occurred
      * @exception ServletException if a servlet error occurred
index 320720e..d181ca1 100644 (file)
@@ -93,7 +93,6 @@ final class StandardEngineValve
      *
      * @param request Request to be processed
      * @param response Response to be produced
-     * @param valveContext Valve context used to forward to the next Valve
      *
      * @exception IOException if an input/output error occurred
      * @exception ServletException if a servlet error occurred
@@ -126,7 +125,7 @@ final class StandardEngineValve
      *
      * @param request Request to be processed
      * @param response Response to be produced
-     * @param valveContext Valve context used to forward to the next Valve
+     * @param event the event
      *
      * @exception IOException if an input/output error occurred
      * @exception ServletException if a servlet error occurred
index 197d7b5..c853705 100644 (file)
@@ -105,7 +105,6 @@ final class StandardHostValve
      *
      * @param request Request to be processed
      * @param response Response to be produced
-     * @param valveContext Valve context used to forward to the next Valve
      *
      * @exception IOException if an input/output error occurred
      * @exception ServletException if a servlet error occurred
@@ -167,7 +166,7 @@ final class StandardHostValve
      *
      * @param request Request to be processed
      * @param response Response to be produced
-     * @param valveContext Valve context used to forward to the next Valve
+     * @param event the event
      *
      * @exception IOException if an input/output error occurred
      * @exception ServletException if a servlet error occurred
index d4d377c..542ffc1 100644 (file)
@@ -86,7 +86,6 @@ final class StandardWrapperValve
      *
      * @param request Request to be processed
      * @param response Response to be produced
-     * @param valveContext Valve context used to forward to the next Valve
      *
      * @exception IOException if an input/output error occurred
      * @exception ServletException if a servlet error occurred
index f236854..675a004 100644 (file)
@@ -86,7 +86,7 @@ public interface ClusterManager extends Manager {
    public boolean doDomainReplication();
 
    /**
-    * @param sendClusterDomainOnly Flag value.
+    * @param domainReplication Flag value.
     * @since 5.5.10
     */
    public void setDomainReplication(boolean domainReplication);
index 6f9e986..fe9b285 100644 (file)
@@ -98,16 +98,16 @@ public class DeltaSession extends StandardSession implements Externalizable,Clus
 
     // ----------------------------------------------------------- Constructors
 
+    public DeltaSession() {
+        this(null);
+    }
+
     /**
      * Construct a new Session associated with the specified Manager.
      *
      * @param manager
      *            The manager with which this Session is associated
      */
-    public DeltaSession() {
-        this(null);
-    }
-
     public DeltaSession(Manager manager) {
         super(manager);
         this.resetDeltaRequest();
index ec74166..b75345d 100644 (file)
@@ -884,7 +884,7 @@ public class SimpleTcpCluster
      * notify all listeners from receiving a new message is not ClusterMessage
      * emit Failure Event to LifecylceListener
      * 
-     * @param message
+     * @param msg
      *            received Message
      */
     public boolean accept(Serializable msg, Member sender) {
index 9adf56a..2657ee3 100644 (file)
@@ -18,7 +18,6 @@
 
 package org.apache.catalina.manager;
 
-import java.io.IOException;
 import java.io.PrintWriter;
 import java.lang.reflect.Method;
 import java.text.MessageFormat;
@@ -31,7 +30,6 @@ import java.util.Vector;
 import javax.management.MBeanServer;
 import javax.management.ObjectInstance;
 import javax.management.ObjectName;
-import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletResponse;
 
 import org.apache.catalina.util.RequestUtil;
@@ -62,13 +60,11 @@ public class StatusTransformer {
 
 
     /**
-     * Process a GET request for the specified resource.
+     * Write an HTML or XML header.
      *
-     * @param request The servlet request we are processing
-     * @param response The servlet response we are creating
+     * @param writer the PrintWriter to use
+     * @param mode - 0 = HTML header, 1 = XML declaration
      *
-     * @exception IOException if an input/output error occurs
-     * @exception ServletException if a servlet-specified error occurs
      */
     public static void writeHeader(PrintWriter writer, int mode) {
         if (mode == 0){
index 6b1c439..9b5065b 100644 (file)
@@ -125,15 +125,15 @@ public class CombinedRealm extends RealmBase {
      *
      * @param username Username of the Principal to look up
      * @param clientDigest Digest which has been submitted by the client
-     * @param nOnce Unique (or supposedly unique) token which has been used
+     * @param nonce Unique (or supposedly unique) token which has been used
      * for this request
-     * @param realm Realm name
+     * @param realmName Realm name
      * @param md5a2 Second MD5 digest used to calculate the digest :
      * MD5(Method + ":" + uri)
      */
     @Override
     public Principal authenticate(String username, String clientDigest,
-            String once, String nc, String cnonce, String qop,
+            String nonce, String nc, String cnonce, String qop,
             String realmName, String md5a2) {
         Principal authenticatedUser = null;
         
@@ -142,7 +142,7 @@ public class CombinedRealm extends RealmBase {
                 log.debug(sm.getString("combinedRealm.authStart", username, realm.getInfo()));
             }
 
-            authenticatedUser = realm.authenticate(username, clientDigest, once,
+            authenticatedUser = realm.authenticate(username, clientDigest, nonce,
                     nc, cnonce, qop, realmName, md5a2);
 
             if (authenticatedUser == null) {
index e0d925d..744ba96 100644 (file)
@@ -149,15 +149,15 @@ public class LockOutRealm extends CombinedRealm {
      *
      * @param username Username of the Principal to look up
      * @param clientDigest Digest which has been submitted by the client
-     * @param nOnce Unique (or supposedly unique) token which has been used
+     * @param nonce Unique (or supposedly unique) token which has been used
      * for this request
-     * @param realm Realm name
+     * @param realmName Realm name
      * @param md5a2 Second MD5 digest used to calculate the digest :
      * MD5(Method + ":" + uri)
      */
     @Override
     public Principal authenticate(String username, String clientDigest,
-            String once, String nc, String cnonce, String qop,
+            String nonce, String nc, String cnonce, String qop,
             String realmName, String md5a2) {
 
         if (isLocked(username)) {
@@ -169,7 +169,7 @@ public class LockOutRealm extends CombinedRealm {
         }
 
         Principal authenticatedUser = super.authenticate(username, clientDigest,
-                once, nc, cnonce, qop, realmName, md5a2);
+                nonce, nc, cnonce, qop, realmName, md5a2);
         
         if (authenticatedUser == null) {
             registerAuthFailure(username);
index 8274a9a..3b857bb 100644 (file)
@@ -237,9 +237,9 @@ public class Embedded  extends StandardService {
 
 
     /**
-     * Enables or disables naming support.
+     * Enables or disables redirection.
      *
-     * @param useNaming The new use naming value
+     * @param redirectStreams The new redirection value
      */
     public void setRedirectStreams(boolean redirectStreams) {
 
index 05f4aa4..7c57131 100644 (file)
@@ -1013,7 +1013,7 @@ final class SoapHeaderRule extends Rule {
      *   no namespace
      * @param name the local name if the parser is namespace aware, or just 
      *   the element name otherwise
-     * @param bodyText The body text of this element
+     * @param text The body text of this element
      */
     @Override
     public void body(String namespace, String name, String text)
@@ -1048,7 +1048,7 @@ final class ServiceQnameRule extends Rule {
      *   no namespace
      * @param name the local name if the parser is namespace aware, or just 
      *   the element name otherwise
-     * @param bodyText The body text of this element
+     * @param text The body text of this element
      */
     @Override
     public void body(String namespace, String name, String text)
index 5da083e..6e7e674 100644 (file)
@@ -72,8 +72,7 @@ public class ChannelCoordinator extends ChannelInterceptorBase implements Messag
      * Send a message to one or more members in the cluster
      * @param destination Member[] - the destinations, null or zero length means all
      * @param msg ClusterMessage - the message to send
-     * @param options int - sender options, see class documentation
-     * @return ClusterMessage[] - the replies from the members, if any.
+     * @param payload TBA
      */
     @Override
     public void sendMessage(Member[] destination, ChannelMessage msg, InterceptorPayload payload) throws ChannelException {
index 2099830..8266cfb 100644 (file)
@@ -136,7 +136,9 @@ public class ChannelData implements ChannelMessage {
         return options;
     }
     /**
-     * @param sets the message options
+     * Sets the message options.
+     * 
+     * @param options the message options
      */
     public void setOptions(int options) {
         this.options = options;
@@ -215,7 +217,7 @@ public class ChannelData implements ChannelMessage {
     
     /**
      * Deserializes a ChannelData object from a byte array
-     * @param b byte[]
+     * @param xbuf byte[]
      * @return ChannelData
      */
     public static ChannelData getDataFromPackage(XByteBuffer xbuf)  {
index 86505bf..2ced30a 100644 (file)
@@ -89,9 +89,9 @@ public class ObjectReader {
      * Append new bytes to buffer.
      * @see XByteBuffer#countPackages()
      * @param data new transfer buffer
-     * @param off offset
      * @param len length in buffer
-     * @return number of messages that was sent to callback
+     * @param count whether to return the count
+     * @return number of messages that was sent to callback (or -1 if count == false)
      * @throws java.io.IOException
      */
     public int append(ByteBuffer data, int len, boolean count) throws java.io.IOException {
index cf6e056..14a57cd 100644 (file)
@@ -48,7 +48,7 @@ public final class ReplicationStream extends ObjectInputStream {
      * Construct a new instance of CustomObjectInputStream
      *
      * @param stream The input stream we will read from
-     * @param classLoader The class loader used to instantiate objects
+     * @param classLoaders The class loader array used to instantiate objects
      *
      * @exception IOException if an input/output error occurs
      */
index fe29632..6cf853c 100644 (file)
@@ -145,7 +145,6 @@ public class XByteBuffer
      * Appends the data to the buffer. If the data is incorrectly formatted, ie, the data should always start with the
      * header, false will be returned and the data will be discarded.
      * @param b - bytes to be appended
-     * @param off - the offset to extract data from
      * @param len - the number of bytes to append.
      * @return true if the data was appended correctly. Returns false if the package is incorrect, ie missing header or something, or the length of data is 0
      */
@@ -330,8 +329,7 @@ public class XByteBuffer
     
     /**
      * Creates a complete data package
-     * @param indata - the message data to be contained within the package
-     * @param compressed - compression flag for the indata buffer
+     * @param cdata - the message data to be contained within the package
      * @return - a full package (header,size,data,footer)
      * 
      */
@@ -423,9 +421,9 @@ public class XByteBuffer
 
     
     /**
-     * Converts an integer to four bytes
-     * @param n - the integer
-     * @return - four bytes in an array
+     * Converts a boolean to a 1-byte array
+     * @param bool - the integer
+     * @return - 1-byte array
      * @deprecated use toBytes(boolean,byte[],int)
      */
     @Deprecated
@@ -440,11 +438,6 @@ public class XByteBuffer
         return data;
     }
     
-    /**
-     * 
-     * @param <any> long
-     * @return use
-     */
     public static boolean toBoolean(byte[] b, int offset) {
         return b[offset] != 0;
     }
@@ -582,8 +575,7 @@ public class XByteBuffer
     /**
      * Serializes a message into cluster data
      * @param msg ClusterMessage
-     * @param compress boolean
-     * @return 
+     * @return serialized content as byte[] array 
      * @throws IOException
      */
     public static byte[] serialize(Serializable msg) throws IOException {
index 7df5f1e..4379854 100644 (file)
@@ -160,7 +160,7 @@ public class McastServiceImpl
      * @param bind - the bind address (not sure this is used yet)
      * @param mcastAddress - the mcast address
      * @param service - the callback service
-     * @param disableLoopbackMode - disable loopbackMode
+     * @param localLoopbackDisabled - disable loopbackMode
      * @throws IOException
      */
     public McastServiceImpl(
@@ -465,7 +465,7 @@ public class McastServiceImpl
 
     /**
      * Send a ping
-     * @throws Exception
+     * @throws IOException
      */ 
     public void send(boolean checkexpired) throws IOException{
         send(checkexpired,null);
index 577b5b4..80ced1a 100644 (file)
@@ -75,7 +75,7 @@ public class MemberImpl implements Member, java.io.Externalizable {
      */
     protected int msgCount = 0;
     /**
-     * The number of milliseconds since this members was
+     * The number of milliseconds since this member was
      * created, is kept track of using the start time
      */
     protected long memberAliveTime = 0;
@@ -122,10 +122,9 @@ public class MemberImpl implements Member, java.io.Externalizable {
 
     /**
      * Construct a new member object
-     * @param name - the name of this member, cluster unique
-     * @param domain - the cluster domain name of this member
      * @param host - the tcp listen host
      * @param port - the tcp listen port
+     * @param aliveTime - the number of milliseconds since this member was created
      */
     public MemberImpl(String host,
                       int port,
@@ -164,7 +163,6 @@ public class MemberImpl implements Member, java.io.Externalizable {
      * Create a data package to send over the wire representing this member.
      * This is faster than serialization.
      * @return - the bytes for this member deserialized
-     * @throws Exception
      */
     public byte[] getData()  {
         return getData(true);
index db547d7..b9d6eef 100644 (file)
@@ -77,7 +77,8 @@ public class Membership
 
     /**
      * Constructs a new membership
-     * @param name - has to be the name of the local member. Used to filter the local member from the cluster membership
+     * @param local - has to be the name of the local member. Used to filter the local member from the cluster membership
+     * @param includeLocal - TBA
      */
     public Membership(MemberImpl local, boolean includeLocal) {
         this.local = local;
index a21c1f1..8bea3d1 100644 (file)
@@ -46,7 +46,8 @@ public class LinkObject {
      * Construct a new element from the data object.
      * Sets the pointer to null.
      *
-     * @param key The key
+     * @param msg the message
+     * @param destination TBA
      * @param payload The data object.
      */
     public LinkObject(ChannelMessage msg, Member[] destination, InterceptorPayload payload) {
index 6866e85..9ab899d 100644 (file)
@@ -89,7 +89,7 @@ public class NioReceiver extends ReceiverBase implements Runnable, ChannelReceiv
 
     /**
      * start cluster receiver
-     * @throws Exception
+     * @throws IOException
      * @see org.apache.catalina.tribes.ClusterReceiver#start()
      */
     @Override
index 1b3e284..080b0af 100644 (file)
@@ -205,7 +205,7 @@ public class MemoryUserDatabase implements UserDatabase {
     /**
      * Setting the readonly status of the user database
      *
-     * @param pathname The new pathname
+     * @param readonly the new status
      */
     public void setReadonly(boolean readonly) {
 
index af462c8..226e3f8 100644 (file)
@@ -691,7 +691,7 @@ public class RemoteIpValve extends ValveBase {
      * Default value : <code>X-Forwarded-For</code>
      * </p>
      * 
-     * @param remoteIPHeader
+     * @param remoteIpHeader
      */
     public void setRemoteIpHeader(String remoteIpHeader) {
         this.remoteIpHeader = remoteIpHeader;
@@ -699,7 +699,7 @@ public class RemoteIpValve extends ValveBase {
     
     /**
      * <p>
-     * Comma delimited list of proxies that are trusted when they appear in the {@link #remoteIPHeader} header. Can be expressed as a
+     * Comma delimited list of proxies that are trusted when they appear in the {@link #remoteIpHeader} header. Can be expressed as a
      * regular expression.
      * </p>
      * <p>
index 7170530..6d07e45 100644 (file)
@@ -139,7 +139,7 @@ public class Http11Processor extends AbstractHttp11Processor implements ActionHo
     /**
      * Process pipelined HTTP requests on the specified socket.
      *
-     * @param socket Socket from which the HTTP requests will be read
+     * @param socketWrapper Socket from which the HTTP requests will be read
      *               and the HTTP responses will be written.
      *  
      * @throws IOException error during an I/O operation
index d7f49d0..654904b 100644 (file)
@@ -126,7 +126,7 @@ class ParserController implements TagConstants {
      *
      * @param inFileName The path to the resource to be included.
      * @param parent The parent node of the include directive.
-     * @param jarFile The JAR file from which to read the included resource,
+     * @param jarFileUrl The JAR file from which to read the included resource,
      * or null of the included resource is to be read from the filesystem
      */
     public Node.Nodes parse(String inFileName, Node parent,
index e1fd86c..7bb00c7 100644 (file)
@@ -502,7 +502,7 @@ class TagFileProcessor {
      *            the current ParserController used in this compilation
      * @param name
      *            the tag name as specified in the TLD
-     * @param tagfile
+     * @param path
      *            the path for the tagfile
      * @param tagFileJarUrl
      *            the url for the Jar containign the tag file 
index 226892d..dc9171d 100644 (file)
@@ -185,11 +185,6 @@ public class TldLocationsCache {
      *
      * @param ctxt the servlet context of the web application in which Jasper 
      * is running
-     * @param redeployMode if true, then the compiler will allow redeploying 
-     * a tag library from the same jar, at the expense of slowing down the
-     * server a bit. Note that this may only work on JDK 1.3.1_01a and later,
-     * because of JDK bug 4211817 fixed in this release.
-     * If redeployMode is false, a faster but less capable mode will be used.
      */
     public TldLocationsCache(ServletContext ctxt) {
         this.ctxt = ctxt;
index a2cd1fc..07e0be7 100644 (file)
@@ -96,21 +96,11 @@ public class HandlerRef
     // ----------------------------------------------------------- Constructors
 
 
-    /**
-     * Service Reference.
-     * 
-     * @param serviceClass Service class
-     */
     public HandlerRef(String refname, String handlerClass) {
         this(refname, handlerClass, null, null);
     }
 
 
-    /**
-     * Service Reference.
-     * 
-     * @param serviceClass Service class
-     */
     public HandlerRef(String refname, String handlerClass,
                     String factory, String factoryLocation) {
         super(refname, factory, factoryLocation);
index 8269a84..aa06165 100644 (file)
@@ -91,24 +91,12 @@ public class ServiceRef
 
     // ----------------------------------------------------------- Constructors
 
-
-    /**
-     * Service Reference.
-     * 
-     * @param serviceClass Service class
-     */
     public ServiceRef(String refname, String serviceInterface, String[] serviceQname, 
                        String wsdl, String jaxrpcmapping) {
         this(refname, serviceInterface, serviceQname, wsdl, jaxrpcmapping,
                         null, null);
     }
 
-
-    /**
-     * Service Reference.
-     * 
-     * @param serviceClass Service class
-     */
     public ServiceRef(String refname, String serviceInterface, String[] serviceQname, 
                        String wsdl, String jaxrpcmapping,
                        String factory, String factoryLocation) {
index 0cf6509..f96418f 100644 (file)
@@ -341,7 +341,7 @@ public abstract class BaseDirContext implements DirContext {
      * Return the real path for a given virtual path, if possible; otherwise
      * return <code>null</code>.
      *
-     * @param path The path to the desired resource
+     * @param name The path to the desired resource
      */
     public String getRealPath(String name) {
         if (!aliases.isEmpty()) {
index 8110686..0765fc3 100644 (file)
@@ -63,7 +63,7 @@ public class Txt2Html
     /**
      * Sets the files to be converted into HTML
      *
-     * @param fileset The fileset to be converted.
+     * @param fs The fileset to be converted.
      */
     public void addFileset( FileSet fs ) {
         filesets.add( fs );
@@ -72,7 +72,7 @@ public class Txt2Html
     /**
      * Perform the conversion
      *
-     * @param BuildException Thrown if an error occurs during execution of
+     * @throws BuildException if an error occurs during execution of
      *    this task.
      */
     @Override
index 9418081..a535df6 100644 (file)
@@ -154,7 +154,7 @@ public class SetPropertiesRule extends Rule {
      * @param namespace the namespace URI of the matching element, or an 
      *   empty string if the parser is not namespace aware or the element has
      *   no namespace
-     * @param name the local name if the parser is namespace aware, or just 
+     * @param theName the local name if the parser is namespace aware, or just 
      *   the element name otherwise
      * @param attributes The attribute list for this element
      */
index 2ae8f7b..5bb9b7f 100644 (file)
@@ -95,7 +95,7 @@ public class SetPropertyRule extends Rule {
      * @param namespace the namespace URI of the matching element, or an 
      *   empty string if the parser is not namespace aware or the element has
      *   no namespace
-     * @param name the local name if the parser is namespace aware, or just 
+     * @param theName the local name if the parser is namespace aware, or just 
      *   the element name otherwise
      * @param attributes The attribute list for this element
      * 
index de6b810..4cecf75 100644 (file)
@@ -926,23 +926,23 @@ public class BaseModelMBean implements DynamicMBean, MBeanRegistration, ModelMBe
     // ------------------------------------------------ PersistentMBean Methods
 
 
-    /**
-     * Instantiates this MBean instance from data found in the persistent
-     * store.  The data loaded could include attribute and operation values.
-     * This method should be called during construction or initialization
-     * of the instance, and before the MBean is registered with the
-     * <code>MBeanServer</code>.
-     *
-     * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation does
-     * not support persistence.</p>
-     *
-     * @exception InstanceNotFoundException if the managed resource object
-     *  cannot be found
-     * @exception MBeanException if the initializer of the object throws
-     *  an exception
-     * @exception RuntimeOperationsException if an exception is reported
-     *  by the persistence mechanism
-     */
+//    /**
+//     * Instantiates this MBean instance from data found in the persistent
+//     * store.  The data loaded could include attribute and operation values.
+//     * This method should be called during construction or initialization
+//     * of the instance, and before the MBean is registered with the
+//     * <code>MBeanServer</code>.
+//     *
+//     * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation does
+//     * not support persistence.</p>
+//     *
+//     * @exception InstanceNotFoundException if the managed resource object
+//     *  cannot be found
+//     * @exception MBeanException if the initializer of the object throws
+//     *  an exception
+//     * @exception RuntimeOperationsException if an exception is reported
+//     *  by the persistence mechanism
+//     */
 //    public void load() throws InstanceNotFoundException,
 //        MBeanException, RuntimeOperationsException {
 //        // XXX If a context was set, use it to load the data
@@ -953,22 +953,22 @@ public class BaseModelMBean implements DynamicMBean, MBeanRegistration, ModelMBe
 //    }
 
 
-    /**
-     * Capture the current state of this MBean instance and write it out
-     * to the persistent store.  The state stored could include attribute
-     * and operation values.  If one of these methods of persistence is not
-     * supported, a "service not found" exception will be thrown.
-     *
-     * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation does
-     * not support persistence.</p>
-     *
-     * @exception InstanceNotFoundException if the managed resource object
-     *  cannot be found
-     * @exception MBeanException if the initializer of the object throws
-     *  an exception, or persistence is not supported
-     * @exception RuntimeOperationsException if an exception is reported
-     *  by the persistence mechanism
-     */
+//    /**
+//     * Capture the current state of this MBean instance and write it out
+//     * to the persistent store.  The state stored could include attribute
+//     * and operation values.  If one of these methods of persistence is not
+//     * supported, a "service not found" exception will be thrown.
+//     *
+//     * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation does
+//     * not support persistence.</p>
+//     *
+//     * @exception InstanceNotFoundException if the managed resource object
+//     *  cannot be found
+//     * @exception MBeanException if the initializer of the object throws
+//     *  an exception, or persistence is not supported
+//     * @exception RuntimeOperationsException if an exception is reported
+//     *  by the persistence mechanism
+//     */
 //    public void store() throws InstanceNotFoundException,
 //        MBeanException, RuntimeOperationsException {
 //
@@ -981,20 +981,20 @@ public class BaseModelMBean implements DynamicMBean, MBeanRegistration, ModelMBe
 
     // --------------------  BaseModelMBean methods --------------------
 
-    /** Set the type of the mbean. This is used as a key to locate
-     * the description in the Registry.
-     *
-     * @param type the type of classname of the modeled object
-     */
+//    /** Set the type of the mbean. This is used as a key to locate
+//     * the description in the Registry.
+//     *
+//     * @param type the type of classname of the modeled object
+//     */
 //    void setModeledType( String type ) {
 //        initModelInfo(type);
 //        createResource();
 //    }
-    /** Set the type of the mbean. This is used as a key to locate
-     * the description in the Registry.
-     *
-     * @param type the type of classname of the modeled object
-     */
+//    /** Set the type of the mbean. This is used as a key to locate
+//     * the description in the Registry.
+//     *
+//     * @param type the type of classname of the modeled object
+//     */
 //    void initModelInfo( String type ) {
 //        try {
 //            if( log.isDebugEnabled())
@@ -1024,9 +1024,9 @@ public class BaseModelMBean implements DynamicMBean, MBeanRegistration, ModelMBe
 //        }
 //    }
 
-    /** Set the type of the mbean. This is used as a key to locate
-     * the description in the Registry.
-     */
+//    /** Set the type of the mbean. This is used as a key to locate
+//     * the description in the Registry.
+//     */
 //    protected void createResource() {
 //        try {
 //            //Thread.currentThread().setContextClassLoader(BaseModelMBean.class.getClassLoader());
@@ -1079,9 +1079,9 @@ public class BaseModelMBean implements DynamicMBean, MBeanRegistration, ModelMBe
     // ------------------------------------------------------ Protected Methods
 
 
-    /**
-     * Create and return a default <code>ModelMBeanInfo</code> object.
-     */
+//    /**
+//     * Create and return a default <code>ModelMBeanInfo</code> object.
+//     */
 //    protected ModelMBeanInfo createDefaultModelMBeanInfo() {
 //
 //        return (new ModelMBeanInfoSupport(this.getClass().getName(),
@@ -1090,15 +1090,15 @@ public class BaseModelMBean implements DynamicMBean, MBeanRegistration, ModelMBe
 //
 //    }
 
-    /**
-     * Is the specified <code>ModelMBeanInfo</code> instance valid?
-     *
-     * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation
-     * does not check anything, but this method can be overridden
-     * as required.</p>
-     *
-     * @param info The <code>ModelMBeanInfo object to check
-     */
+//    /**
+//     * Is the specified <code>ModelMBeanInfo</code> instance valid?
+//     *
+//     * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation
+//     * does not check anything, but this method can be overridden
+//     * as required.</p>
+//     *
+//     * @param info The <code>ModelMBeanInfo object to check
+//     */
 //    protected boolean isModelMBeanInfoValid(ModelMBeanInfo info) {
 //        return (true);
 //    }
index eb13446..cbcda46 100644 (file)
@@ -137,7 +137,6 @@ public class NioBlockingSelector {
      * take up a lot of CPU cycles.
      * @param buf ByteBuffer - the buffer containing the data, we will read as until we have read at least one byte or we timed out
      * @param socket SocketChannel - the socket to write data to
-     * @param selector Selector - the selector to use for blocking, if null then a busy read will be initiated
      * @param readTimeout long - the timeout for this read operation in milliseconds, -1 means no timeout
      * @return int - returns the number of bytes read
      * @throws EOFException if read returns -1
index 0269311..fe93109 100644 (file)
@@ -25,8 +25,7 @@ package org.apache.tomcat.util.net;
  */
 public interface SSLSessionManager {
     /**
-     * Invalidate the specified SSL session
-     * @param   sessionId   The ID of the session to invalidate.
+     * Invalidate the SSL session
      */
     public void invalidateSession();
 }