You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2013/07/24 16:14:34 UTC
svn commit: r1506568 -
/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/AbandonedTrace.java
Author: markt
Date: Wed Jul 24 14:14:34 2013
New Revision: 1506568
URL: http://svn.apache.org/r1506568
Log:
Update for recent changes to pool API
Modified:
commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/AbandonedTrace.java
Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/AbandonedTrace.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/AbandonedTrace.java?rev=1506568&r1=1506567&r2=1506568&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/AbandonedTrace.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/AbandonedTrace.java Wed Jul 24 14:14:34 2013
@@ -5,9 +5,9 @@
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -19,7 +19,7 @@ package org.apache.commons.dbcp2;
import java.util.ArrayList;
import java.util.List;
-import org.apache.commons.pool2.impl.TrackedUse;
+import org.apache.commons.pool2.TrackedUse;
/**
* Tracks db connection usage for recovering and reporting
@@ -27,7 +27,7 @@ import org.apache.commons.pool2.impl.Tra
*
* The JDBC Connection, Statement, and ResultSet classes
* extend this class.
- *
+ *
* @author Glenn L. Nielsen
* @version $Revision$ $Date$
*/
@@ -62,7 +62,7 @@ public class AbandonedTrace implements T
* @param parent AbandonedTrace parent object
*/
private void init(AbandonedTrace parent) {
- if (parent != null) {
+ if (parent != null) {
parent.addTrace(this);
}
}