tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1056569 - /tomcat/trunk/java/org/apache/naming/factory/DataSourceLinkFactory.java
Date Sat, 08 Jan 2011 00:22:56 GMT
Author: kkolinko
Date: Sat Jan  8 00:22:56 2011
New Revision: 1056569

URL: http://svn.apache.org/viewvc?rev=1056569&view=rev
Log:
Folloup to r1055989
Add qualifiers to the fields of DataSourceLinkFactory.DataSourceHandler class.

Modified:
    tomcat/trunk/java/org/apache/naming/factory/DataSourceLinkFactory.java

Modified: tomcat/trunk/java/org/apache/naming/factory/DataSourceLinkFactory.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/naming/factory/DataSourceLinkFactory.java?rev=1056569&r1=1056568&r2=1056569&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/naming/factory/DataSourceLinkFactory.java (original)
+++ tomcat/trunk/java/org/apache/naming/factory/DataSourceLinkFactory.java Sat Jan  8 00:22:56
2011
@@ -91,9 +91,9 @@ public class DataSourceLinkFactory exten
      * {@link javax.sql.DataSource#getConnection(String, String)} with the preconfigured
username and password.
      */
     public static class DataSourceHandler implements InvocationHandler {
-        DataSource ds; 
-        String username; 
-        String password;
+        private final DataSource ds; 
+        private final String username; 
+        private final String password;
         public DataSourceHandler(DataSource ds, String username, String password) {
             this.ds = ds;
             this.username = username;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message