From fc0108a46bfd07ffb9e5a978b655d3ed779bf40d Mon Sep 17 00:00:00 2001 From: sherman Date: Mon, 14 Jul 2008 14:03:42 -0700 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/classes/java/nio/channels/SelectionKey.java b/src/share/classes/java/nio/channels/SelectionKey.java index 7acb692cc..00fd36f46 100644 --- a/src/share/classes/java/nio/channels/SelectionKey.java +++ b/src/share/classes/java/nio/channels/SelectionKey.java @@ -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 - * set & ~(channel().validOps()) != 0 + * (ops & ~channel().validOps()) != 0 * * @throws CancelledKeyException * If this key has been cancelled -- GitLab