tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1154321 - /tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
Date Fri, 05 Aug 2011 17:17:48 GMT
Author: markt
Date: Fri Aug  5 17:17:48 2011
New Revision: 1154321

URL: http://svn.apache.org/viewvc?rev=1154321&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51615
Code clean-up.

Modified:
    tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java

Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java?rev=1154321&r1=1154320&r2=1154321&view=diff
==============================================================================
--- tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
(original)
+++ tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
Fri Aug  5 17:17:48 2011
@@ -264,7 +264,7 @@ public class PooledConnection {
         if (pwd != null) properties.setProperty(PROP_PASSWORD, pwd);
 
         try {
-            connection = connection = driver.connect(driverURL, properties);
+            connection = driver.connect(driverURL, properties);
         } catch (Exception x) {
             if (log.isDebugEnabled()) {
                 log.debug("Unable to connect to database.", x);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message