mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-11 05:23:55 +08:00
Channel.java, [...]: Removed redundant modifiers.
2003-10-11 Michael Koch <konqueror@gmx.de> * java/nio/channels/Channel.java, java/nio/channels/GatheringByteChannel.java, java/nio/channels/ReadableByteChannel.java, java/nio/channels/ScatteringByteChannel.java, java/nio/channels/WritableByteChannel.java: Removed redundant modifiers. From-SVN: r72355
This commit is contained in:
parent
d5a87c2b1d
commit
eb0043a057
@ -1,3 +1,12 @@
|
||||
2003-10-11 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/nio/channels/Channel.java,
|
||||
java/nio/channels/GatheringByteChannel.java,
|
||||
java/nio/channels/ReadableByteChannel.java,
|
||||
java/nio/channels/ScatteringByteChannel.java,
|
||||
java/nio/channels/WritableByteChannel.java:
|
||||
Removed redundant modifiers.
|
||||
|
||||
2003-10-11 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/rmi/activation/ActivationInstantiator.java,
|
||||
|
@ -44,12 +44,12 @@ public interface Channel
|
||||
/**
|
||||
* Tells whether this channel is open or not
|
||||
*/
|
||||
public boolean isOpen();
|
||||
boolean isOpen();
|
||||
|
||||
/**
|
||||
* Closes this channel
|
||||
*
|
||||
* @exception IOException If an error occurs
|
||||
*/
|
||||
public void close() throws IOException;
|
||||
void close() throws IOException;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ public interface GatheringByteChannel
|
||||
* @exception NonWritableChannelException If this channel was not opened for
|
||||
* writing
|
||||
*/
|
||||
public long write(ByteBuffer[] srcs, int offset, int length)
|
||||
long write (ByteBuffer[] srcs, int offset, int length)
|
||||
throws IOException;
|
||||
|
||||
/**
|
||||
@ -75,5 +75,5 @@ public interface GatheringByteChannel
|
||||
* @exception NonWritableChannelException If this channel was not opened for
|
||||
* writing
|
||||
*/
|
||||
public long write(ByteBuffer[] srcs) throws IOException;
|
||||
long write (ByteBuffer[] srcs) throws IOException;
|
||||
}
|
||||
|
@ -55,5 +55,5 @@ public interface ReadableByteChannel extends Channel
|
||||
* @exception NonReadableChannelException If this channel was not opened for
|
||||
* reading
|
||||
*/
|
||||
public int read (ByteBuffer dst) throws IOException;
|
||||
int read (ByteBuffer dst) throws IOException;
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ public interface ScatteringByteChannel
|
||||
* @exception NonReadableChannelException If this channel was not opened for
|
||||
* reading
|
||||
*/
|
||||
public long read(ByteBuffer[] srcs, int offset, int length)
|
||||
long read (ByteBuffer[] srcs, int offset, int length)
|
||||
throws IOException;
|
||||
|
||||
/**
|
||||
@ -75,5 +75,5 @@ public interface ScatteringByteChannel
|
||||
* @exception NonReadableChannelException If this channel was not opened for
|
||||
* reading
|
||||
*/
|
||||
public long read(ByteBuffer[] srcs) throws IOException;
|
||||
long read (ByteBuffer[] srcs) throws IOException;
|
||||
}
|
||||
|
@ -56,5 +56,5 @@ public interface WritableByteChannel
|
||||
* @exception NonWritableChannelException If this channel was not opened for
|
||||
* writing
|
||||
*/
|
||||
public int write(ByteBuffer src) throws IOException;
|
||||
int write (ByteBuffer src) throws IOException;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user