You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/04/26 19:04:29 UTC

svn commit: r1330972 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp2/managed/DataSourceXAConnectionFactory.java

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;
 
     /**