You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by bp...@apache.org on 2012/07/03 07:03:15 UTC

svn commit: r1356573 - /db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java

Author: bpendleton
Date: Tue Jul  3 05:03:14 2012
New Revision: 1356573

URL: http://svn.apache.org/viewvc?rev=1356573&view=rev
Log:
DERBY-5834: Remove unused methods in NetPreparedStatement class

This patch was contributed by Mohamed Nufail (nufail56 at gmail dot com)

This change removes two unused overloads of the resetNetPreparedStatement
method in NetPreparedStatement.

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java?rev=1356573&r1=1356572&r2=1356573&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java Tue Jul  3 05:03:14 2012
@@ -141,24 +141,6 @@ public class NetPreparedStatement extend
                 netConnection);
     }
 
-    void resetNetPreparedStatement(NetAgent netAgent,
-                                   NetConnection netConnection,
-                                   String sql,
-                                   Section section) throws SqlException {
-        preparedStatement_.resetPreparedStatement(netAgent, netConnection, sql, section);
-        resetNetPreparedStatement(preparedStatement_, netAgent, netConnection);
-    }
-
-    void resetNetPreparedStatement(NetAgent netAgent,
-                                   NetConnection netConnection,
-                                   String sql,
-                                   Section section,
-                                   ColumnMetaData parameterMetaData,
-                                   ColumnMetaData resultSetMetaData) throws SqlException {
-        preparedStatement_.resetPreparedStatement(netAgent, netConnection, sql, section, parameterMetaData, resultSetMetaData);
-        this.resetNetPreparedStatement(preparedStatement_, netAgent, netConnection);
-    }
-
     public void writeExecute_(Section section,
                               ColumnMetaData parameterMetaData,
                               Object[] inputs,