summaryrefslogtreecommitdiff
path: root/java/sql
diff options
context:
space:
mode:
Diffstat (limited to 'java/sql')
-rw-r--r--java/sql/Array.java20
-rw-r--r--java/sql/Blob.java18
2 files changed, 19 insertions, 19 deletions
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;
}