From cb2446831a3f7a589aef485676004e33853dfcfb Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Sat, 11 Oct 2003 18:38:12 +0000 Subject: Externalizable.java, [...]: Removed redundant modifiers. 2003-10-11 Michael Koch * 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 --- libjava/java/io/ObjectInput.java | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'libjava/java/io/ObjectInput.java') diff --git a/libjava/java/io/ObjectInput.java b/libjava/java/io/ObjectInput.java index 44cfb935852..f53294dce47 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; +} -- cgit v1.2.3