You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by kr...@apache.org on 2008/05/20 13:51:32 UTC

svn commit: r658210 - /db/derby/code/trunk/java/client/org/apache/derby/client/am/DatabaseMetaData.java

Author: kristwaa
Date: Tue May 20 04:51:32 2008
New Revision: 658210

URL: http://svn.apache.org/viewvc?rev=658210&view=rev
Log:
Removed "empty statements" (a line containing only whitespace and a semi-colon).

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/am/DatabaseMetaData.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/DatabaseMetaData.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/DatabaseMetaData.java?rev=658210&r1=658209&r2=658210&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/DatabaseMetaData.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/DatabaseMetaData.java Tue May 20 04:51:32 2008
@@ -1087,7 +1087,6 @@
                                            String procedureNamePattern,
                                            String columnNamePattern) throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLPROCEDURECOLS(?,?,?,?,?)");
 
@@ -1371,8 +1370,6 @@
             throw new SqlException(se);
         }
         
-        ;
-
         PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLTABLES('', '', '', '', 'GETSCHEMAS=1')");
         return (ResultSet) cs.executeQueryX();
     }
@@ -1427,7 +1424,6 @@
 
     private ResultSet getTableTypesX() throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         PreparedStatement cs = null;
         cs = prepareMetaDataQuery("SYSIBM.SQLTABLES(?,?,?,?,?)");
@@ -1571,7 +1567,6 @@
                                           String schemaPattern,
                                           String tableNamePattern) throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLTABLEPRIVILEGES(?,?,?,?)");
 
@@ -1618,7 +1613,6 @@
                                             int scope,
                                             boolean nullable) throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         // check input params
         //
@@ -1716,7 +1710,6 @@
                                       String schema,
                                       String table) throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         // validate the input table name
         if (table == null) {
@@ -1822,7 +1815,6 @@
                                        String schema,
                                        String table) throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         // validate the table name
         if (table == null) {
@@ -1887,7 +1879,6 @@
                                          String foreignSchema,
                                          String foreignTable) throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         // check input params, primaryTable and foreignTable cannot be null
         if (primaryTable == null) {
@@ -1937,7 +1928,6 @@
 
     private ResultSet getTypeInfoX() throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         // check if the last call's resultset is closed or not.
         PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLGETTYPEINFO(?,?)");
@@ -2038,7 +2028,6 @@
                                String typeNamePattern,
                                int[] types) throws SqlException {
         checkForClosedConnectionX();
-        ;
 
         PreparedStatement cs = prepareMetaDataQuery("SYSIBM.SQLUDTS(?,?,?,?,?)");