Javadoc update
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 9 Apr 2010 11:43:16 +0000 (11:43 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 9 Apr 2010 11:43:16 +0000 (11:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@932363 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/jni/Poll.java

index 3c9cb03..83d1c7f 100644 (file)
@@ -99,8 +99,8 @@ public class Poll {
      *        The descriptor array must be two times the size of pollset.
      *        and are populated as follows:
      * <PRE>
-     * descriptors[n + 0] -> returned events
-     * descriptors[n + 1] -> socket
+     * descriptors[2n + 0] -> returned events
+     * descriptors[2n + 1] -> socket
      * </PRE>
      * @param remove Remove signaled descriptors from pollset
      * @return Number of signaled descriptors (output parameter)
@@ -146,8 +146,8 @@ public class Poll {
      *        The descriptor array must be two times the size of pollset.
      *        and are populated as follows:
      * <PRE>
-     * descriptors[n + 0] -> returned events
-     * descriptors[n + 1] -> socket
+     * descriptors[2n + 0] -> returned events
+     * descriptors[2n + 1] -> socket
      * </PRE>
      * @return Number of descriptors (output parameter) in the Poll
      *         or negative APR error code.