aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/sql/Driver.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-10-11 18:49:51 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-10-11 18:49:51 +0000
commitafe6016980a9d8d8672042d53f926972a0af49c7 (patch)
tree5f8e4e09e41fddb2564b5726cad645fa7ddb6ef8 /libjava/java/sql/Driver.java
parenteb0043a05776bf4bbeb4c058246af15a75d36916 (diff)
downloadgcc-afe6016980a9d8d8672042d53f926972a0af49c7.zip
gcc-afe6016980a9d8d8672042d53f926972a0af49c7.tar.gz
gcc-afe6016980a9d8d8672042d53f926972a0af49c7.tar.bz2
Array.java, [...]: Removed redundant modifiers.
2003-10-11 Michael Koch <konqueror@gmx.de> * java/sql/Array.java, java/sql/Blob.java, java/sql/CallableStatement.java, java/sql/Clob.java, java/sql/Connection.java, java/sql/DatabaseMetaData.java, java/sql/Driver.java, java/sql/ParameterMetaData.java, java/sql/PreparedStatement.java, java/sql/Ref.java, java/sql/ResultSet.java, java/sql/ResultSetMetaData.java, java/sql/SQLData.java, java/sql/SQLInput.java, java/sql/SQLOutput.java, java/sql/Savepoint.java, java/sql/Statement.java, java/sql/Struct.java: Removed redundant modifiers. From-SVN: r72356
Diffstat (limited to 'libjava/java/sql/Driver.java')
-rw-r--r--libjava/java/sql/Driver.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/java/sql/Driver.java b/libjava/java/sql/Driver.java
index 5e5731d..ebd0265 100644
--- a/libjava/java/sql/Driver.java
+++ b/libjava/java/sql/Driver.java
@@ -68,7 +68,7 @@ public interface Driver
* connection, or <code>null</code> if the URL is not understood.
* @exception SQLException If an error occurs.
*/
- public Connection connect(String url, Properties info) throws SQLException;
+ Connection connect(String url, Properties info) throws SQLException;
/**
* This method tests whether or not the driver believes it can connect to
@@ -81,9 +81,9 @@ public interface Driver
* <code>false</code> otherwise.
* @exception SQLException If an error occurs.
*/
- public boolean acceptsURL(String url) throws SQLException;
+ boolean acceptsURL(String url) throws SQLException;
- /**
+ /**
* This method returns an array of possible properties that could be
* used to connect to the specified database.
*
@@ -94,7 +94,7 @@ public interface Driver
* database. This list may be empty.
* @exception SQLException If an error occurs.
*/
- public DriverPropertyInfo[] getPropertyInfo(String url, Properties properties)
+ DriverPropertyInfo[] getPropertyInfo(String url, Properties properties)
throws SQLException;
/**
@@ -102,14 +102,14 @@ public interface Driver
*
* @return The major version number of the driver.
*/
- public int getMajorVersion();
+ int getMajorVersion();
/**
* This method returns the minor version number of the driver.
*
* @return The minor version number of the driver.
*/
- public int getMinorVersion();
+ int getMinorVersion();
/**
* This method tests whether or not the driver is JDBC compliant. This
@@ -119,5 +119,5 @@ public interface Driver
* @return <code>true</code> if the driver has been certified JDBC compliant,
* <code>false</code> otherwise.
*/
- public boolean jdbcCompliant();
+ boolean jdbcCompliant();
}