You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2009/09/16 16:56:51 UTC
svn commit: r815818 - in /tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni:
Local.java Poll.java Registry.java Socket.java
Author: rjung
Date: Wed Sep 16 14:56:50 2009
New Revision: 815818
URL: http://svn.apache.org/viewvc?rev=815818&view=rev
Log:
BZ47852: Fix Javadoc errors.
Patch by Sebb.
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Local.java
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Poll.java
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Registry.java
tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Socket.java
Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Local.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Local.java?rev=815818&r1=815817&r2=815818&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Local.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Local.java Wed Sep 16 14:56:50 2009
@@ -56,7 +56,6 @@
/**
* 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.
Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Poll.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Poll.java?rev=815818&r1=815817&r2=815818&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Poll.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Poll.java Wed Sep 16 14:56:50 2009
@@ -79,7 +79,6 @@
* 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,
Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Registry.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Registry.java?rev=815818&r1=815817&r2=815818&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Registry.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Registry.java Wed Sep 16 14:56:50 2009
@@ -56,7 +56,8 @@
* 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 @@
* 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 @@
/**
* 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 @@
/**
* 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)
Modified: tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Socket.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Socket.java?rev=815818&r1=815817&r2=815818&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Socket.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/tomcat/jni/Socket.java Wed Sep 16 14:56:50 2009
@@ -513,7 +513,7 @@
* 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);
@@ -522,7 +522,7 @@
* 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);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org