Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2008-06-11 13:04:56 +0400
committerjfrijters <jfrijters>2008-06-11 13:04:56 +0400
commit9baab31e8c2ec69b4e098a164fb6ea6d0b8bb56c (patch)
treecb6ea0550c8653b7614e2d221e848180249e27b7 /openjdk/sun/nio/ch/SelectionKeyImpl.java
parentdb4720da166361f480586decec8581648c0b7ab0 (diff)
Converted tabs to spaces.
Diffstat (limited to 'openjdk/sun/nio/ch/SelectionKeyImpl.java')
-rw-r--r--openjdk/sun/nio/ch/SelectionKeyImpl.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/openjdk/sun/nio/ch/SelectionKeyImpl.java b/openjdk/sun/nio/ch/SelectionKeyImpl.java
index f67d23db..5edc3005 100644
--- a/openjdk/sun/nio/ch/SelectionKeyImpl.java
+++ b/openjdk/sun/nio/ch/SelectionKeyImpl.java
@@ -41,12 +41,12 @@ final class SelectionKeyImpl extends AbstractSelectionKey
{
this.channel = ch;
this.selector = sel;
- socket = ch.getFD().getSocket();
+ socket = ch.getFD().getSocket();
}
public SelectableChannel channel()
{
- return (SelectableChannel)channel;
+ return (SelectableChannel)channel;
}
public int readyOps()
@@ -94,25 +94,25 @@ final class SelectionKeyImpl extends AbstractSelectionKey
void nioReadyOps(int ops)
{
- readyOps = ops;
+ readyOps = ops;
}
int nioReadyOps()
{
- return readyOps;
+ return readyOps;
}
int nioInterestOps()
{
- return interestOps;
+ return interestOps;
}
SelectionKey nioInterestOps(int ops)
{
- if ((ops & ~channel().validOps()) != 0)
- throw new IllegalArgumentException();
- channel.translateAndSetInterestOps(ops, this);
- interestOps = ops;
- return this;
+ if ((ops & ~channel().validOps()) != 0)
+ throw new IllegalArgumentException();
+ channel.translateAndSetInterestOps(ops, this);
+ interestOps = ops;
+ return this;
}
}