db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r1069760 - in /db/derby/code/trunk/java/client/org/apache/derby/client: am/ColumnMetaData.java am/Lob.java net/NetCallableStatement.java net/NetPreparedStatement.java net/NetStatement.java
Date Fri, 11 Feb 2011 11:42:42 GMT
Author: kahatlen
Date: Fri Feb 11 11:42:42 2011
New Revision: 1069760

URL: http://svn.apache.org/viewvc?rev=1069760&view=rev
Log:
DERBY-5020: remove redundant finalizer methods

Patch contributed by Dave Brosius <dbrosius@apache.org>.

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/am/ColumnMetaData.java
    db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java
    db/derby/code/trunk/java/client/org/apache/derby/client/net/NetCallableStatement.java
    db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java
    db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatement.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/ColumnMetaData.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/ColumnMetaData.java?rev=1069760&r1=1069759&r2=1069760&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/ColumnMetaData.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/ColumnMetaData.java Fri Feb
11 11:42:42 2011
@@ -155,10 +155,6 @@ public class ColumnMetaData implements j
         sqlUDTclassName_ = new String[upperBound];
     }
 
-    protected void finalize() throws java.lang.Throwable {
-        super.finalize();
-    }
-
     //--------------------Abstract material layer call-down methods-----------------
 
     //------------------material layer event callback methods-----------------------

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java?rev=1069760&r1=1069759&r2=1069760&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/am/Lob.java Fri Feb 11 11:42:42
2011
@@ -91,10 +91,6 @@ public abstract class Lob implements Uni
         transactionID_ = agent_.connection_.getTransactionID();
     }
 
-    protected void finalize() throws java.lang.Throwable {
-        super.finalize();
-    }
-
     // ---------------------------jdbc 2------------------------------------------
 
     /**

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/net/NetCallableStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/net/NetCallableStatement.java?rev=1069760&r1=1069759&r2=1069760&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/net/NetCallableStatement.java
(original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/net/NetCallableStatement.java
Fri Feb 11 11:42:42 2011
@@ -109,9 +109,4 @@ public class NetCallableStatement extend
         callableStatement_.resetCallableStatement(netAgent, netConnection, sql, section,
parameterMetaData, resultSetMetaData);
         resetNetCallableStatement(callableStatement_, netAgent, netConnection);
     }
-
-    protected void finalize() throws java.lang.Throwable {
-        super.finalize();
-    }
-
 }

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java?rev=1069760&r1=1069759&r2=1069760&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java
(original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java
Fri Feb 11 11:42:42 2011
@@ -159,10 +159,6 @@ public class NetPreparedStatement extend
         this.resetNetPreparedStatement(preparedStatement_, netAgent, netConnection);
     }
 
-    protected void finalize() throws java.lang.Throwable {
-        super.finalize();
-    }
-
     public void writeExecute_(Section section,
                               ColumnMetaData parameterMetaData,
                               Object[] inputs,

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatement.java?rev=1069760&r1=1069759&r2=1069760&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatement.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/net/NetStatement.java Fri Feb
11 11:42:42 2011
@@ -105,10 +105,6 @@ public class NetStatement implements org
         resetNetStatement(statement_, netAgent, netConnection);
     }
 
-    protected void finalize() throws java.lang.Throwable {
-        super.finalize();
-    }
-
     // ------------------------abstract box car methods-----------------------------------------------
 
     public void writeSetSpecialRegister_(Section section, java.util.ArrayList sqlsttList)
throws SqlException {



Mime
View raw message