Channel.java, [...]: Removed redundant modifiers.
authorMichael Koch <konqueror@gmx.de>
Sat, 11 Oct 2003 18:45:10 +0000 (18:45 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Sat, 11 Oct 2003 18:45:10 +0000 (18:45 +0000)
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

libjava/ChangeLog
libjava/java/nio/channels/Channel.java
libjava/java/nio/channels/GatheringByteChannel.java
libjava/java/nio/channels/ReadableByteChannel.java
libjava/java/nio/channels/ScatteringByteChannel.java
libjava/java/nio/channels/WritableByteChannel.java

index 4261e15028e7009a8dbd2e7077d4a52361e7293a..73f92efcc64d1ac47cd76cf478e8694160ef6424 100644 (file)
@@ -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,
index b5272c367768432c27043dc9c60487392b9c95f9..86df85edb1b36426a92b4f3b0766380deece45bb 100644 (file)
@@ -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;
 }
index 3ef12b7b6dcb6f16ec71c274b041c75df3d42998..1528e56175c14f5c46287e22938d914526fdcc9f 100644 (file)
@@ -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;
 }
index d1653cc8d3ee960381a0bb8c533197eb2aa50f33..f870e6bdfa829d633d917031e42ff4d53f79edea 100644 (file)
@@ -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;
 }
index a9efdbef448d198917db5167080fe71d4f9bfbdd..bd8bb6cac4d769423e5e31a6a966c3008633d6ba 100644 (file)
@@ -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;
 }
index 003437e5f3cdab99fa09cb25f78389a2c25e342a..7b66f5d35a240fb7fd19e8f48aa31e5c5917fc50 100644 (file)
@@ -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;
 }