Better parameter names.
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 @@
* 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 @@
}
@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 @@
}
@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 @@
}
@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;