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
* {@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;