6608833: (se spec) SelectionKey @throws references wrong param
authorsherman
Mon Jul 14 14:03:42 2008 -0700 (20 months ago)
changeset 403844a53a24d06
parent 386267da79ad5d8
child 404fb3e3e1316b9
6608833: (se spec) SelectionKey @throws references wrong param
Summary: Update the API doc to correct the wrong description
Reviewed-by: alanb
src/share/classes/java/nio/channels/SelectionKey.java
--- a/src/share/classes/java/nio/channels/SelectionKey.java Fri Jun 27 12:09:37 2008 -0700
+++ b/src/share/classes/java/nio/channels/SelectionKey.java Mon Jul 14 14:03:42 2008 -0700
@@ -191,7 +191,7 @@ public abstract class SelectionKey {
* @throws IllegalArgumentException
* If a bit in the set does not correspond to an operation that
* is supported by this key's channel, that is, if
- * <tt>set & ~(channel().validOps()) != 0</tt>
+ * <tt>(ops & ~channel().validOps()) != 0</tt>
*
* @throws CancelledKeyException
* If this key has been cancelled