Repository: commons-dbcp
Updated Branches:
  refs/heads/master e176d65e0 -> c510b94ad


Better parameter names.

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

Branch: refs/heads/master
Commit: c510b94ad8905d4346980c68af1dec143c0f4813
Parents: e176d65
Author: Gary Gregory <garydgreg...@gmail.com>
Authored: Sun Jun 17 09:56:42 2018 -0600
Committer: Gary Gregory <garydgreg...@gmail.com>
Committed: Sun Jun 17 09:56:42 2018 -0600

----------------------------------------------------------------------
 .../dbcp2/DelegatingCallableStatement.java      | 24 ++++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbcp/blob/c510b94a/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java 
b/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java
index b652149..762c724 100644
--- a/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java
+++ b/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java
@@ -55,20 +55,20 @@ public class DelegatingCallableStatement extends 
DelegatingPreparedStatement imp
      * Creates a wrapper for the Statement which traces this Statement to the 
Connection which created it and the code
      * which created it.
      *
-     * @param c
+     * @param connection
      *            the {@link DelegatingConnection} that created this statement
-     * @param s
+     * @param statement
      *            the {@link CallableStatement} to delegate all calls to
      */
-    public DelegatingCallableStatement(final DelegatingConnection<?> c, final 
CallableStatement s) {
-        super(c, s);
+    public DelegatingCallableStatement(final DelegatingConnection<?> 
connection, final CallableStatement statement) {
+        super(connection, statement);
     }
 
     @Override
-    public Array getArray(final int i) throws SQLException {
+    public Array getArray(final int parameterIndex) throws SQLException {
         checkOpen();
         try {
-            return getDelegateCallableStatement().getArray(i);
+            return getDelegateCallableStatement().getArray(parameterIndex);
         } catch (final SQLException e) {
             handleException(e);
             return null;
@@ -122,10 +122,10 @@ public class DelegatingCallableStatement extends 
DelegatingPreparedStatement imp
     }
 
     @Override
-    public Blob getBlob(final int i) throws SQLException {
+    public Blob getBlob(final int parameterIndex) throws SQLException {
         checkOpen();
         try {
-            return getDelegateCallableStatement().getBlob(i);
+            return getDelegateCallableStatement().getBlob(parameterIndex);
         } catch (final SQLException e) {
             handleException(e);
             return null;
@@ -232,10 +232,10 @@ public class DelegatingCallableStatement extends 
DelegatingPreparedStatement imp
     }
 
     @Override
-    public Clob getClob(final int i) throws SQLException {
+    public Clob getClob(final int parameterIndex) throws SQLException {
         checkOpen();
         try {
-            return getDelegateCallableStatement().getClob(i);
+            return getDelegateCallableStatement().getClob(parameterIndex);
         } catch (final SQLException e) {
             handleException(e);
             return null;
@@ -522,10 +522,10 @@ public class DelegatingCallableStatement extends 
DelegatingPreparedStatement imp
     }
 
     @Override
-    public Ref getRef(final int i) throws SQLException {
+    public Ref getRef(final int parameterIndex) throws SQLException {
         checkOpen();
         try {
-            return getDelegateCallableStatement().getRef(i);
+            return getDelegateCallableStatement().getRef(parameterIndex);
         } catch (final SQLException e) {
             handleException(e);
             return null;

Reply via email to