From d1300a9be649f8dfe739c9a0cc2f634456bcb0b5 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Sun, 12 Oct 2003 16:00:31 +0000 Subject: 2003-10-12 Michael Koch * java/sql/Array.java, java/sql/Blob.java: Removed redundant modifiers. --- java/sql/Array.java | 20 ++++++++++---------- java/sql/Blob.java | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) (limited to 'java/sql') 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 index @@ -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 index @@ -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 ResultSet. @@ -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 ResultSet. @@ -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 ResultSet. @@ -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 ResultSet. @@ -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; } -- cgit v1.2.1