Folloup to r1055989
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 8 Jan 2011 00:22:56 +0000 (00:22 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Sat, 8 Jan 2011 00:22:56 +0000 (00:22 +0000)
Add qualifiers to the fields of DataSourceLinkFactory.DataSourceHandler class.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1056569 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/naming/factory/DataSourceLinkFactory.java

index 78974e1..6c91276 100644 (file)
@@ -91,9 +91,9 @@ public class DataSourceLinkFactory extends ResourceLinkFactory {
      * {@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;