Repository: commons-dbcp
Updated Branches:
  refs/heads/release e2f101cc5 -> 00fd9d9b6


Better super constructor to avoid unused parameter

Project: http://git-wip-us.apache.org/repos/asf/commons-dbcp/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbcp/commit/6fac1ecf
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbcp/tree/6fac1ecf
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbcp/diff/6fac1ecf

Branch: refs/heads/release
Commit: 6fac1ecfdbc6d088498b1e7a5556c7041c86bbed
Parents: 2d9149d
Author: Mark Thomas <ma...@apache.org>
Authored: Tue Jun 19 10:20:50 2018 +0100
Committer: Mark Thomas <ma...@apache.org>
Committed: Tue Jun 19 10:20:50 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/commons/dbcp2/cpdsadapter/PStmtKeyCPDS.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/6fac1ecf/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PStmtKeyCPDS.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PStmtKeyCPDS.java 
b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PStmtKeyCPDS.java
index bd25c12..56153d8 100644
--- a/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PStmtKeyCPDS.java
+++ b/src/main/java/org/apache/commons/dbcp2/cpdsadapter/PStmtKeyCPDS.java
@@ -40,7 +40,7 @@ public class PStmtKeyCPDS extends PStmtKey {
 
     public PStmtKeyCPDS(final String sql, final int resultSetType, final int 
resultSetConcurrency,
             final int resultSetHoldability) {
-        super(sql, resultSetType, resultSetConcurrency);
+        super(sql, null, resultSetType, resultSetConcurrency, 
resultSetHoldability);
     }
 
     public PStmtKeyCPDS(final String sql, final int columnIndexes[]) {

Reply via email to