commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1729273 - /commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java
Date Mon, 08 Feb 2016 21:54:54 GMT
Author: ggregory
Date: Mon Feb  8 21:54:54 2016
New Revision: 1729273

URL: http://svn.apache.org/viewvc?rev=1729273&view=rev
Log:
Add final modifier to private fields.

Modified:
    commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java

Modified: commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java?rev=1729273&r1=1729272&r2=1729273&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java
(original)
+++ commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java
Mon Feb  8 21:54:54 2016
@@ -161,7 +161,7 @@ public class TestManagedConnection {
     private class UncooperativeTransaction
         implements Transaction {
 
-        private Transaction wrappedTransaction;
+        private final Transaction wrappedTransaction;
 
         public UncooperativeTransaction(Transaction transaction) {
             this.wrappedTransaction = transaction;



Mime
View raw message