jdk/src/share/classes/java/nio/channels/SelectionKey.java
changeset 841 3234b58ccc92
parent 2 90ce3da70b43
child 1247 b4c26443dee5
--- a/jdk/src/share/classes/java/nio/channels/SelectionKey.java	Fri Jun 27 12:09:37 2008 -0700
+++ b/jdk/src/share/classes/java/nio/channels/SelectionKey.java	Mon Jul 14 14:03:42 2008 -0700
@@ -191,7 +191,7 @@
      * @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