diff options
| author | Michael Koch <konqueror@gmx.de> | 2003-10-12 16:00:31 +0000 |
|---|---|---|
| committer | Michael Koch <konqueror@gmx.de> | 2003-10-12 16:00:31 +0000 |
| commit | d1300a9be649f8dfe739c9a0cc2f634456bcb0b5 (patch) | |
| tree | 7882ab8abb72a42b8986f7bf96cefc8258a4dfbb | |
| parent | b451effb6e2ba40338bdeb92c0d7ea9add5f9c77 (diff) | |
| download | classpath-d1300a9be649f8dfe739c9a0cc2f634456bcb0b5.tar.gz | |
2003-10-12 Michael Koch <konqueror@gmx.de>
* java/sql/Array.java,
java/sql/Blob.java:
Removed redundant modifiers.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | java/sql/Array.java | 20 | ||||
| -rw-r--r-- | java/sql/Blob.java | 18 |
3 files changed, 25 insertions, 19 deletions
@@ -1,5 +1,11 @@ 2003-10-12 Michael Koch <konqueror@gmx.de> + * java/sql/Array.java, + java/sql/Blob.java: + Removed redundant modifiers. + +2003-10-12 Michael Koch <konqueror@gmx.de> + * java/security/Key.java, java/security/PrivateKey.java, java/security/PublicKey.java, diff --git a/java/sql/Array.java b/java/sql/Array.java index 51c4ee8fa..0bb84cbe3 100644 --- a/java/sql/Array.java +++ b/java/sql/Array.java @@ -53,7 +53,7 @@ public interface Array * @param The name of the SQL type of the elements in this array. * @exception SQLException If an error occurs. */ - public String getBaseTypeName() throws SQLException; + String getBaseTypeName() throws SQLException; /** * Returns the JDBC type identifier of the elements in this @@ -64,7 +64,7 @@ public interface Array * @exception SQLException If an error occurs. * @see Types */ - public int getBaseType() throws SQLException; + int getBaseType() throws SQLException; /** * Returns the contents of this array. This object returned @@ -73,7 +73,7 @@ public interface Array * @return The contents of the array as an array of Java objects. * @exception SQLException If an error occurs. */ - public Object getArray() throws SQLException; + Object getArray() throws SQLException; /** * Returns the contents of this array. The specified @@ -84,7 +84,7 @@ public interface Array * @return The contents of the array as an array of Java objects. * @exception SQLException If an error occurs. */ - public Object getArray(Map map) throws SQLException; + Object getArray(Map map) throws SQLException; /** * Returns a portion of this array starting at <code>index</code> @@ -99,7 +99,7 @@ public interface Array * @return The requested portion of the array. * @exception SQLException If an error occurs. */ - public Object getArray(long index, int count) throws SQLException; + Object getArray(long index, int count) throws SQLException; /** * This method returns a portion of this array starting at <code>index</code> @@ -116,7 +116,7 @@ public interface Array * @return The requested portion of the array. * @exception SQLException If an error occurs. */ - public Object getArray(long index, int count, Map map) throws SQLException; + Object getArray(long index, int count, Map map) throws SQLException; /** * Returns the elements in the array as a <code>ResultSet</code>. @@ -128,7 +128,7 @@ public interface Array * @exception SQLException If an error occurs. * @see ResultSet */ - public ResultSet getResultSet() throws SQLException; + ResultSet getResultSet() throws SQLException; /** * This method returns the elements in the array as a <code>ResultSet</code>. @@ -143,7 +143,7 @@ public interface Array * @exception SQLException If an error occurs. * @see ResultSet */ - public ResultSet getResultSet(Map map) throws SQLException; + ResultSet getResultSet(Map map) throws SQLException; /** * This method returns a portion of the array as a <code>ResultSet</code>. @@ -160,7 +160,7 @@ public interface Array * @exception SQLException If an error occurs. * @see ResultSet */ - public ResultSet getResultSet(long index, int count) throws SQLException; + ResultSet getResultSet(long index, int count) throws SQLException; /** * This method returns a portion of the array as a <code>ResultSet</code>. @@ -180,6 +180,6 @@ public interface Array * @exception SQLException If an error occurs. * @see ResultSet */ - public ResultSet getResultSet(long index, int count, Map map) + ResultSet getResultSet(long index, int count, Map map) throws SQLException; } diff --git a/java/sql/Blob.java b/java/sql/Blob.java index 495fec10d..070201bb8 100644 --- a/java/sql/Blob.java +++ b/java/sql/Blob.java @@ -55,7 +55,7 @@ public interface Blob * @return The number of bytes in the BLOB. * @exception SQLException If an error occurs. */ - public long length() throws SQLException; + long length() throws SQLException; /** * This method returns up to the requested bytes of this BLOB as a @@ -66,7 +66,7 @@ public interface Blob * @return The requested bytes from the BLOB. * @exception SQLException If an error occurs. */ - public byte[] getBytes(long pos, int length) throws SQLException; + byte[] getBytes(long pos, int length) throws SQLException; /** * This method returns a stream that will read the bytes of the BLOB. @@ -74,7 +74,7 @@ public interface Blob * @return A stream that will read the bytes of the BLOB. * @exception SQLException If an error occurs. */ - public InputStream getBinaryStream() throws SQLException; + InputStream getBinaryStream() throws SQLException; /** * This method returns the index into the BLOB at which the first instance @@ -87,7 +87,7 @@ public interface Blob * pattern is not found. * @exception SQLException If an error occurs. */ - public long position(byte[] pattern, long start) throws SQLException; + long position(byte[] pattern, long start) throws SQLException; /** * This method returns the index into the BLOB at which the first instance @@ -102,30 +102,30 @@ public interface Blob * pattern is not found. * @exception SQLException If an error occurs. */ - public long position(Blob pattern, long start) throws SQLException; + long position(Blob pattern, long start) throws SQLException; /** * @exception SQLException If an error occurs. * @since 1.4 */ - public int setBytes(long pos, byte[] bytes) throws SQLException; + int setBytes(long pos, byte[] bytes) throws SQLException; /** * @exception SQLException If an error occurs. * @since 1.4 */ - public int setBytes(long pos, byte[] bytes, int offset, int len) + int setBytes(long pos, byte[] bytes, int offset, int len) throws SQLException; /** * @exception SQLException If an error occurs. * @since 1.4 */ - public OutputStream setBinaryStream(long pos) throws SQLException; + OutputStream setBinaryStream(long pos) throws SQLException; /** * @exception SQLException If an error occurs. * @since 1.4 */ - public void truncate(long len) throws SQLException; + void truncate(long len) throws SQLException; } |
