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
This commit is contained in:
parent
6a12e65c11
commit
cb2446831a
10 changed files with 68 additions and 62 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue