summaryrefslogtreecommitdiff
path: root/gnu/java/net/PlainSocketImpl.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-01-04 23:35:59 +0000
committerTom Tromey <tromey@redhat.com>2005-01-04 23:35:59 +0000
commita8022e1b553cf6520e2f153706852c44e462ccfe (patch)
tree4fa89fc1e1459de8939fb6d42e901740a91f2927 /gnu/java/net/PlainSocketImpl.java
parent1e7c0b5ef0dd01b41fa6d804503afb286788ff10 (diff)
downloadclasspath-a8022e1b553cf6520e2f153706852c44e462ccfe.tar.gz
* gnu/java/nio/SelectorImpl.java: Removed unused import.
* gnu/java/security/der/DERWriter.java: Removed unused import. * gnu/java/net/protocol/http/Connection.java: Removed unused import. * gnu/java/nio/PipeImpl.java (read): Reordered modifiers. Fixed indentation. (write): Likewise. * gnu/java/rmi/server/ConnectionRunnerPool.java (getConnectionRunner): Reordered modifiers. * gnu/java/text/FormatCharacterIterator.java (debug): Removed useless `final'. (dumpTable): Likewise. * gnu/java/net/PlainDatagramSocketImpl.java (bind): Reordered modifiers. (create, setOption, getOption, close, join, leave): Likewise. * gnu/java/net/PlainSocketImpl.java (create): Reordered modifiers. (bind, listen, accept): Likewise.
Diffstat (limited to 'gnu/java/net/PlainSocketImpl.java')
-rw-r--r--gnu/java/net/PlainSocketImpl.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/java/net/PlainSocketImpl.java b/gnu/java/net/PlainSocketImpl.java
index 2c5032fcf..93f43b86d 100644
--- a/gnu/java/net/PlainSocketImpl.java
+++ b/gnu/java/net/PlainSocketImpl.java
@@ -1,5 +1,5 @@
/* PlainSocketImpl.java -- Default socket implementation
- Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004
+ Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -195,7 +195,7 @@ public final class PlainSocketImpl extends SocketImpl
*
* @param stream true for a stream socket, false for a datagram socket
*/
- protected native synchronized void create(boolean stream) throws IOException;
+ protected synchronized native void create(boolean stream) throws IOException;
/**
* Connects to the remote hostname and port specified as arguments.
@@ -264,7 +264,7 @@ public final class PlainSocketImpl extends SocketImpl
*
* @exception IOException If an error occurs
*/
- protected native synchronized void bind(InetAddress addr, int port)
+ protected synchronized native void bind(InetAddress addr, int port)
throws IOException;
/**
@@ -277,7 +277,7 @@ public final class PlainSocketImpl extends SocketImpl
*
* @exception IOException If an error occurs
*/
- protected native synchronized void listen(int queuelen)
+ protected synchronized native void listen(int queuelen)
throws IOException;
/**
@@ -286,7 +286,7 @@ public final class PlainSocketImpl extends SocketImpl
*
* @param impl The SocketImpl object to accept this connection.
*/
- protected native synchronized void accept(SocketImpl impl)
+ protected synchronized native void accept(SocketImpl impl)
throws IOException;
/**