6608833: (se spec) SelectionKey @throws references wrong param

Update the API doc to correct the wrong description

Reviewed-by: alanb
This commit is contained in:
Xueming Shen 2008-07-14 14:03:42 -07:00
parent 35038e62cd
commit 2270e88840

@ -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