From 4d5cd4e1695551e1e32c87d14a30cbae9aad514e Mon Sep 17 00:00:00 2001 From: mkoch Date: Sat, 11 Oct 2003 18:38:12 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72352 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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