You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2018/06/19 09:20:59 UTC

commons-dbcp git commit: Better super constructor to avoid unused parameter

Repository: commons-dbcp
Updated Branches:
  refs/heads/master 2d9149dc8 -> 6fac1ecfd


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/master
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[]) {