Commit eb0043a0 by Michael Koch Committed by Michael Koch

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
parent d5a87c2b
2003-10-11 Michael Koch <konqueror@gmx.de> 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, * java/rmi/activation/ActivationInstantiator.java,
java/rmi/activation/ActivationMonitor.java, java/rmi/activation/ActivationMonitor.java,
java/rmi/activation/ActivationSystem.java, java/rmi/activation/ActivationSystem.java,
......
...@@ -44,12 +44,12 @@ public interface Channel ...@@ -44,12 +44,12 @@ public interface Channel
/** /**
* Tells whether this channel is open or not * Tells whether this channel is open or not
*/ */
public boolean isOpen(); boolean isOpen();
/** /**
* Closes this channel * Closes this channel
* *
* @exception IOException If an error occurs * @exception IOException If an error occurs
*/ */
public void close() throws IOException; void close() throws IOException;
} }
...@@ -59,7 +59,7 @@ public interface GatheringByteChannel ...@@ -59,7 +59,7 @@ public interface GatheringByteChannel
* @exception NonWritableChannelException If this channel was not opened for * @exception NonWritableChannelException If this channel was not opened for
* writing * writing
*/ */
public long write(ByteBuffer[] srcs, int offset, int length) long write (ByteBuffer[] srcs, int offset, int length)
throws IOException; throws IOException;
/** /**
...@@ -75,5 +75,5 @@ public interface GatheringByteChannel ...@@ -75,5 +75,5 @@ public interface GatheringByteChannel
* @exception NonWritableChannelException If this channel was not opened for * @exception NonWritableChannelException If this channel was not opened for
* writing * writing
*/ */
public long write(ByteBuffer[] srcs) throws IOException; long write (ByteBuffer[] srcs) throws IOException;
} }
...@@ -55,5 +55,5 @@ public interface ReadableByteChannel extends Channel ...@@ -55,5 +55,5 @@ public interface ReadableByteChannel extends Channel
* @exception NonReadableChannelException If this channel was not opened for * @exception NonReadableChannelException If this channel was not opened for
* reading * reading
*/ */
public int read (ByteBuffer dst) throws IOException; int read (ByteBuffer dst) throws IOException;
} }
...@@ -59,7 +59,7 @@ public interface ScatteringByteChannel ...@@ -59,7 +59,7 @@ public interface ScatteringByteChannel
* @exception NonReadableChannelException If this channel was not opened for * @exception NonReadableChannelException If this channel was not opened for
* reading * reading
*/ */
public long read(ByteBuffer[] srcs, int offset, int length) long read (ByteBuffer[] srcs, int offset, int length)
throws IOException; throws IOException;
/** /**
...@@ -75,5 +75,5 @@ public interface ScatteringByteChannel ...@@ -75,5 +75,5 @@ public interface ScatteringByteChannel
* @exception NonReadableChannelException If this channel was not opened for * @exception NonReadableChannelException If this channel was not opened for
* reading * reading
*/ */
public long read(ByteBuffer[] srcs) throws IOException; long read (ByteBuffer[] srcs) throws IOException;
} }
...@@ -56,5 +56,5 @@ public interface WritableByteChannel ...@@ -56,5 +56,5 @@ public interface WritableByteChannel
* @exception NonWritableChannelException If this channel was not opened for * @exception NonWritableChannelException If this channel was not opened for
* writing * writing
*/ */
public int write(ByteBuffer src) throws IOException; int write (ByteBuffer src) throws IOException;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment