changeset 412:844a53a24d06

6608833: (se spec) SelectionKey @throws references wrong param Summary: Update the API doc to correct the wrong description Reviewed-by: alanb
author sherman
date Mon, 14 Jul 2008 14:03:42 -0700
parents 267da79ad5d8
children fb3e3e1316b9
files src/share/classes/java/nio/channels/SelectionKey.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
      * @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