From: rjung Date: Wed, 16 Sep 2009 14:54:07 +0000 (+0000) Subject: BZ47852: Javadoc fixes. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4bcdd8fc7ed5059e04d2315c7911b80abd847f10;p=tomcat7.0 BZ47852: Javadoc fixes. Patch by Sebb. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@815816 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/tomcat/jni/Local.java b/java/org/apache/tomcat/jni/Local.java index fb5a7a64c..5d467dd07 100644 --- a/java/org/apache/tomcat/jni/Local.java +++ b/java/org/apache/tomcat/jni/Local.java @@ -56,7 +56,6 @@ public class Local { /** * Accept a new connection request * @param sock The socket we are listening on. - * @param pool The pool for the new socket. * @return A copy of the socket that is connected to the socket that * made the connection request. This is the socket which should * be used for all future communication. diff --git a/java/org/apache/tomcat/jni/Poll.java b/java/org/apache/tomcat/jni/Poll.java index 8eb0ee82c..ad63c8fb7 100644 --- a/java/org/apache/tomcat/jni/Poll.java +++ b/java/org/apache/tomcat/jni/Poll.java @@ -79,7 +79,6 @@ public class Poll { * descriptor is signalled in apr_pollset_poll(). * @param pollset The pollset to which to add the descriptor * @param sock The sockets to add - * @param data Client data to add * @param reqevents requested events */ public static native int add(long pollset, long sock, diff --git a/java/org/apache/tomcat/jni/Registry.java b/java/org/apache/tomcat/jni/Registry.java index eed9a59ce..3eaeb636d 100644 --- a/java/org/apache/tomcat/jni/Registry.java +++ b/java/org/apache/tomcat/jni/Registry.java @@ -56,7 +56,8 @@ public class Registry { * Create or open a Registry Key. * @param name Registry Subkey to open * @param root Root key, one of HKEY_* - * @param som Access mask that specifies the access rights for the key. + * @param sam Access mask that specifies the access rights for the key. + * @param pool Pool used for native memory allocation * @return Opened Registry key */ public static native long create(int root, String name, int sam, long pool) @@ -66,7 +67,8 @@ public class Registry { * Opens the specified Registry Key. * @param name Registry Subkey to open * @param root Root key, one of HKEY_* - * @param som Access mask that specifies the access rights for the key. + * @param sam Access mask that specifies the access rights for the key. + * @param pool Pool used for native memory allocation * @return Opened Registry key */ public static native long open(int root, String name, int sam, long pool) @@ -197,7 +199,6 @@ public class Registry { /** * Enumerate the Registry subkeys * @param key The Registry key descriptor to use. - * @param name The name of the value to query * @return Array of all subkey names */ public static native String[] enumKeys(long key) @@ -206,7 +207,6 @@ public class Registry { /** * Enumerate the Registry values * @param key The Registry key descriptor to use. - * @param name The name of the value to query * @return Array of all value names */ public static native String[] enumValues(long key) diff --git a/java/org/apache/tomcat/jni/Socket.java b/java/org/apache/tomcat/jni/Socket.java index 8af9db5d3..27b4c6182 100644 --- a/java/org/apache/tomcat/jni/Socket.java +++ b/java/org/apache/tomcat/jni/Socket.java @@ -554,7 +554,7 @@ public class Socket { * Set internal send ByteBuffer. * This function will preset internal Java ByteBuffer for * consecutive sendbb calls. - * @param thesocket The socket to use + * @param sock The socket to use * @param buf The ByteBuffer */ public static native void setsbb(long sock, ByteBuffer buf); @@ -563,7 +563,7 @@ public class Socket { * Set internal receive ByteBuffer. * This function will preset internal Java ByteBuffer for * consecutive revcvbb/recvbbt calls. - * @param thesocket The socket to use + * @param sock The socket to use * @param buf The ByteBuffer */ public static native void setrbb(long sock, ByteBuffer buf); @@ -573,13 +573,11 @@ public class Socket { * @param sock The currently open socket. * @param data The user data to associate with the socket. * @param key The key to associate with the data. - * @param cleanup The cleanup to call when the socket is destroyed. */ public static native int dataSet(long sock, String key, Object data); /** * Return the data associated with the current socket - * @param data The user data associated with the socket. * @param key The key to associate with the user data. * @param sock The currently open socket. * @return Data or null in case of error.