commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r753370 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java
Date Fri, 13 Mar 2009 20:00:01 GMT
Author: sebb
Date: Fri Mar 13 19:59:58 2009
New Revision: 753370

URL: http://svn.apache.org/viewvc?rev=753370&view=rev
Log:
Make some private fields final

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

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java?rev=753370&r1=753369&r2=753370&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/ConnectionImpl.java
Fri Mar 13 19:59:58 2009
@@ -60,10 +60,10 @@
 /* JDBC_4_ANT_KEY_END */
 
     /** The JDBC database connection. */
-    private Connection connection;
+    private final Connection connection;
 
     /** The object that instantiated this object */
-     private PooledConnectionImpl pooledConnection;
+     private final PooledConnectionImpl pooledConnection;
 
     /** Marks whether is Connection is still usable. */
     boolean isClosed;



Mime
View raw message