aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/network/SocketDescriptor.java
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2013-05-12 15:46:09 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2013-05-12 15:46:09 +0000
commitc0a360943aa9d1eac940c7105388eddc4c87e702 (patch)
tree0d6e4ee5603d7a062f71cde7430aa4e08f052a30 /java/com/tigervnc/network/SocketDescriptor.java
parent5cb75ac9bbd3b445b883bb470b7a77387e079620 (diff)
downloadtigervnc-c0a360943aa9d1eac940c7105388eddc4c87e702.tar.gz
tigervnc-c0a360943aa9d1eac940c7105388eddc4c87e702.zip
Whitespace cleanup only
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5097 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/network/SocketDescriptor.java')
-rw-r--r--java/com/tigervnc/network/SocketDescriptor.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/java/com/tigervnc/network/SocketDescriptor.java b/java/com/tigervnc/network/SocketDescriptor.java
index 22f0a3d8..3cbe5ab2 100644
--- a/java/com/tigervnc/network/SocketDescriptor.java
+++ b/java/com/tigervnc/network/SocketDescriptor.java
@@ -1,15 +1,15 @@
/* Copyright (C) 2012 Brian P. Hinz
- *
+ *
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this software; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
@@ -144,7 +144,7 @@ public class SocketDescriptor implements FileDescriptor {
return n;
}
- public long write(ByteBuffer[] buf, int offset, int length)
+ public long write(ByteBuffer[] buf, int offset, int length)
throws IOException
{
long n = 0;
@@ -166,7 +166,7 @@ public class SocketDescriptor implements FileDescriptor {
return n;
}
- public long read(ByteBuffer[] buf, int offset, int length)
+ public long read(ByteBuffer[] buf, int offset, int length)
throws IOException
{
long n = 0;
@@ -181,7 +181,7 @@ public class SocketDescriptor implements FileDescriptor {
public java.net.Socket socket() {
return channel.socket();
}
-
+
public SocketAddress getRemoteAddress() throws IOException {
if (isConnected())
return channel.socket().getRemoteSocketAddress();
@@ -241,7 +241,7 @@ public class SocketDescriptor implements FileDescriptor {
System.out.println(e.toString());
}
}
-
+
protected SocketChannel channel;
protected Selector writeSelector;
protected Selector readSelector;