commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1547236 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
Date Mon, 02 Dec 2013 23:09:55 GMT
Author: markt
Date: Mon Dec  2 23:09:55 2013
New Revision: 1547236

URL: http://svn.apache.org/r1547236
Log:
Fix DBCP-404 for the o.a.c.dbcp2.cpdsadapter package

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java?rev=1547236&r1=1547235&r2=1547236&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/cpdsadapter/PooledConnectionImpl.java
Mon Dec  2 23:09:55 2013
@@ -78,11 +78,11 @@ class PooledConnectionImpl implements Po
     /**
      * flag set to true, once close() is called.
      */
-    boolean isClosed; // TODO - make private?
+    private boolean isClosed; // TODO - make private?
 
     /** My pool of {*link PreparedStatement}s. */
     // TODO - make final and private?
-    protected KeyedObjectPool<PStmtKeyCPDS, PoolablePreparedStatement<PStmtKeyCPDS,
PoolablePreparedStatementStub>> pstmtPool = null;
+    private KeyedObjectPool<PStmtKeyCPDS, PoolablePreparedStatement<PStmtKeyCPDS, PoolablePreparedStatementStub>>
pstmtPool = null;
 
     /**
      * Controls access to the underlying connection



Mime
View raw message