db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpendle...@apache.org
Subject svn commit: r1356573 - /db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPreparedStatement.java
Date Tue, 03 Jul 2012 05:03:15 GMT
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,



Mime
View raw message