diff options
Diffstat (limited to 'libjava/classpath/gnu/java/nio/SelectionKeyImpl.java')
-rw-r--r-- | libjava/classpath/gnu/java/nio/SelectionKeyImpl.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/classpath/gnu/java/nio/SelectionKeyImpl.java b/libjava/classpath/gnu/java/nio/SelectionKeyImpl.java index c927f31..a26ff87 100644 --- a/libjava/classpath/gnu/java/nio/SelectionKeyImpl.java +++ b/libjava/classpath/gnu/java/nio/SelectionKeyImpl.java @@ -1,4 +1,4 @@ -/* SelectionKeyImpl.java -- +/* SelectionKeyImpl.java -- Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -65,7 +65,7 @@ public abstract class SelectionKeyImpl extends AbstractSelectionKey { if (!isValid()) throw new CancelledKeyException(); - + return readyOps; } @@ -73,7 +73,7 @@ public abstract class SelectionKeyImpl extends AbstractSelectionKey { if (!isValid()) throw new CancelledKeyException(); - + readyOps = ops; return this; } @@ -82,10 +82,10 @@ public abstract class SelectionKeyImpl extends AbstractSelectionKey { if (!isValid()) throw new CancelledKeyException(); - + synchronized (impl.selectedKeys()) { - return interestOps; + return interestOps; } } @@ -96,11 +96,11 @@ public abstract class SelectionKeyImpl extends AbstractSelectionKey synchronized (impl.selectedKeys()) { - interestOps = ops; + interestOps = ops; } return this; } - + public Selector selector () { return impl; |