db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r611841 - in /db/derby/code/trunk/java/client/org/apache/derby/client: ClientPooledConnection.java ClientPooledConnection40.java
Date Mon, 14 Jan 2008 16:05:37 GMT
Author: kristwaa
Date: Mon Jan 14 08:05:35 2008
New Revision: 611841

URL: http://svn.apache.org/viewvc?rev=611841&view=rev
Log:
DERBY-3309: Minor cleanups in ClientPooledConnection40 and ClientPooledConnection. Removed
unused constructor.
Patch file: derby-3309-2a-remove_unused_constructor.diff

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection.java
    db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection40.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection.java?rev=611841&r1=611840&r2=611841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection.java Mon
Jan 14 08:05:35 2008
@@ -116,29 +116,6 @@
         }
     }
 
-    public ClientPooledConnection(ClientBaseDataSource ds,
-                                  org.apache.derby.client.am.LogWriter logWriter) throws
SQLException {
-        logWriter_ = logWriter;
-        ds_ = ds;
-        listeners_ = new java.util.Vector();
-	try {
-            netPhysicalConnection_ = (org.apache.derby.client.net.NetConnection)
-            ClientDriver.getFactory().newNetConnection(
-                    (NetLogWriter) logWriter_,
-                    null,
-                    null,
-                    ds,
-                    -1,
-                    false);
-
-            physicalConnection_ = netPhysicalConnection_;
-        }
-        catch (SqlException se)
-        {
-            throw se.getSQLException();
-        }
-    }
-
     protected void finalize() throws java.lang.Throwable {
         if (logWriter_ != null) {
             logWriter_.traceEntry(this, "finalize");

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection40.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection40.java?rev=611841&r1=611840&r2=611841&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection40.java
(original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/ClientPooledConnection40.java
Mon Jan 14 08:05:35 2008
@@ -59,11 +59,6 @@
         
     }
     
-    public ClientPooledConnection40(ClientBaseDataSource ds,
-        org.apache.derby.client.am.LogWriter logWriter) throws SQLException {
-        super(ds,logWriter);
-    }
-    
      /**
      *
      * Registers a StatementEventListener with this PooledConnection object. 



Mime
View raw message