diff options
author | Michael Koch <konqueror@gmx.de> | 2003-10-11 18:38:12 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-10-11 18:38:12 +0000 |
commit | cb2446831a3f7a589aef485676004e33853dfcfb (patch) | |
tree | 119115e7d7924c649aded11d02c0c80462db8bae /libjava/java/io/ObjectInput.java | |
parent | 6a12e65c11749cb0d8c0b39402f09ac7f18a22cc (diff) | |
download | gcc-cb2446831a3f7a589aef485676004e33853dfcfb.zip gcc-cb2446831a3f7a589aef485676004e33853dfcfb.tar.gz gcc-cb2446831a3f7a589aef485676004e33853dfcfb.tar.bz2 |
Externalizable.java, [...]: Removed redundant modifiers.
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/io/Externalizable.java,
java/io/FileFilter.java,
java/io/FilePermission.java,
java/io/ObjectInput.java,
java/io/ObjectInputValidation.java,
java/io/ObjectOutput.java,
java/io/ObjectStreamClass.java,
java/io/ObjectStreamConstants.java,
java/io/Serializable.java:
Removed redundant modifiers.
From-SVN: r72352
Diffstat (limited to 'libjava/java/io/ObjectInput.java')
-rw-r--r-- | libjava/java/io/ObjectInput.java | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/libjava/java/io/ObjectInput.java b/libjava/java/io/ObjectInput.java index 44cfb93..f53294d 100644 --- a/libjava/java/io/ObjectInput.java +++ b/libjava/java/io/ObjectInput.java @@ -58,7 +58,7 @@ public interface ObjectInput extends DataInput * * @exception IOException If an error occurs */ - public abstract int available() throws IOException; + int available() throws IOException; /** * This method reading a byte of data from a stream. It returns that byte @@ -69,7 +69,7 @@ public interface ObjectInput extends DataInput * * @exception IOException If an error occurs */ - public abstract int read() throws IOException; + int read() throws IOException; /** * This method reads raw bytes and stores them them a byte array buffer. @@ -83,7 +83,7 @@ public interface ObjectInput extends DataInput * * @exception IOException If an error occurs */ - public abstract int read(byte[] buf) throws IOException; + int read(byte[] buf) throws IOException; /** * This method reads raw bytes and stores them in a byte array buffer @@ -102,7 +102,7 @@ public interface ObjectInput extends DataInput * * @exception IOException If an error occurs */ - public abstract int read(byte[] buf, int offset, int len) throws IOException; + int read(byte[] buf, int offset, int len) throws IOException; /** * Reads an object instance and returns it. If the class for the object @@ -115,7 +115,7 @@ public interface ObjectInput extends DataInput * found * @exception IOException If any other error occurs */ - public abstract Object readObject() + Object readObject() throws ClassNotFoundException, IOException; /** @@ -129,14 +129,12 @@ public interface ObjectInput extends DataInput * * @exception IOException If an error occurs */ - public abstract long skip(long numBytes) throws IOException; + long skip(long numBytes) throws IOException; /** * This method closes the input source * * @exception IOException If an error occurs */ - public abstract void close() throws IOException; - -} // interface ObjectInput - + void close() throws IOException; +} |