diff --git a/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java b/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java index 8643b5aba1..7fd4104e3a 100644 --- a/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java +++ b/src/main/java/org/apache/commons/dbcp2/PoolingDataSource.java @@ -161,7 +161,7 @@ public Connection getConnection() throws SQLException { * always thrown */ @Override - public Connection getConnection(final String uname, final String passwd) throws SQLException { + public Connection getConnection(final String userName, final String password) throws SQLException { throw new UnsupportedOperationException(); }