commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1330972 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/DataSourceXAConnectionFactory.java
Date Thu, 26 Apr 2012 17:04:29 GMT
Author: sebb
Date: Thu Apr 26 17:04:29 2012
New Revision: 1330972

URL: http://svn.apache.org/viewvc?rev=1330972&view=rev
Log:
No loss of function by making the username field private, as it has public getter and setter

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

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/DataSourceXAConnectionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/DataSourceXAConnectionFactory.java?rev=1330972&r1=1330971&r2=1330972&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/DataSourceXAConnectionFactory.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/DataSourceXAConnectionFactory.java
Thu Apr 26 17:04:29 2012
@@ -33,7 +33,7 @@ import java.sql.SQLException;
 public class DataSourceXAConnectionFactory implements XAConnectionFactory {
     protected TransactionRegistry transactionRegistry;
     protected XADataSource xaDataSource;
-    protected String username;
+    private String username;
     protected String password;
 
     /**



Mime
View raw message