This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: Patch: Redundant modifiers (Part 10)
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Sat, 11 Oct 2003 20:49:37 +0200
- Subject: FYI: Patch: Redundant modifiers (Part 10)
Hi list,
more modifier stuff.
Michael
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.2245
diff -u -b -B -r1.2245 ChangeLog
--- ChangeLog 11 Oct 2003 18:41:22 -0000 1.2245
+++ ChangeLog 11 Oct 2003 18:44:24 -0000
@@ -1,5 +1,14 @@
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/ActivationMonitor.java,
java/rmi/activation/ActivationSystem.java,
Index: java/nio/channels/Channel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/nio/channels/Channel.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 Channel.java
--- java/nio/channels/Channel.java 7 Oct 2002 07:59:12 -0000 1.1
+++ java/nio/channels/Channel.java 11 Oct 2003 18:44:24 -0000
@@ -44,12 +44,12 @@
/**
* 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: java/nio/channels/GatheringByteChannel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/nio/channels/GatheringByteChannel.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 GatheringByteChannel.java
--- java/nio/channels/GatheringByteChannel.java 7 Oct 2002 07:59:12 -0000 1.1
+++ java/nio/channels/GatheringByteChannel.java 11 Oct 2003 18:44:24 -0000
@@ -59,7 +59,7 @@
* @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 @@
* @exception NonWritableChannelException If this channel was not opened for
* writing
*/
- public long write(ByteBuffer[] srcs) throws IOException;
+ long write (ByteBuffer[] srcs) throws IOException;
}
Index: java/nio/channels/ReadableByteChannel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/nio/channels/ReadableByteChannel.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 ReadableByteChannel.java
--- java/nio/channels/ReadableByteChannel.java 7 Oct 2002 07:59:12 -0000 1.1
+++ java/nio/channels/ReadableByteChannel.java 11 Oct 2003 18:44:24 -0000
@@ -55,5 +55,5 @@
* @exception NonReadableChannelException If this channel was not opened for
* reading
*/
- public int read (ByteBuffer dst) throws IOException;
+ int read (ByteBuffer dst) throws IOException;
}
Index: java/nio/channels/ScatteringByteChannel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/nio/channels/ScatteringByteChannel.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 ScatteringByteChannel.java
--- java/nio/channels/ScatteringByteChannel.java 7 Oct 2002 07:59:12 -0000 1.1
+++ java/nio/channels/ScatteringByteChannel.java 11 Oct 2003 18:44:24 -0000
@@ -59,7 +59,7 @@
* @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 @@
* @exception NonReadableChannelException If this channel was not opened for
* reading
*/
- public long read(ByteBuffer[] srcs) throws IOException;
+ long read (ByteBuffer[] srcs) throws IOException;
}
Index: java/nio/channels/WritableByteChannel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/nio/channels/WritableByteChannel.java,v
retrieving revision 1.1
diff -u -b -B -r1.1 WritableByteChannel.java
--- java/nio/channels/WritableByteChannel.java 7 Oct 2002 07:59:12 -0000 1.1
+++ java/nio/channels/WritableByteChannel.java 11 Oct 2003 18:44:24 -0000
@@ -56,5 +56,5 @@
* @exception NonWritableChannelException If this channel was not opened for
* writing
*/
- public int write(ByteBuffer src) throws IOException;
+ int write (ByteBuffer src) throws IOException;
}