db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bpendle...@apache.org
Subject svn commit: r1356568 - /db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPackageReply.java
Date Tue, 03 Jul 2012 04:04:34 GMT
Author: bpendleton
Date: Tue Jul  3 04:04:33 2012
New Revision: 1356568

URL: http://svn.apache.org/viewvc?rev=1356568&view=rev
Log:
DERBY-5828: Remove unused methods in NetPackageReply class

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

This change removes the unused parsePKGNAMCT method in NetPackageReply.

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

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPackageReply.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPackageReply.java?rev=1356568&r1=1356567&r2=1356568&view=diff
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPackageReply.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPackageReply.java Tue Jul
 3 04:04:33 2012
@@ -197,18 +197,4 @@ public class NetPackageReply extends Net
 
     //------------------------parse DDM Scalars-----------------------------
 
-    // RDB Package Name and Consistency token Scalar Object specifies the
-    // fully qualified name of a relational database package and its
-    // consistency token.
-    protected Object parsePKGNAMCT(boolean skip) throws DisconnectException {
-        parseLengthAndMatchCodePoint(CodePoint.PKGNAMCT);
-        if (skip) {
-            skipBytes();
-            return null;
-        }
-        agent_.accumulateChainBreakingReadExceptionAndThrow(new DisconnectException(agent_,
-                new ClientMessageId(SQLState.DRDA_COMMAND_NOT_IMPLEMENTED),
-                "parsePKGNAMCT"));
-        return null; // to make compiler happy
-    }
 }



Mime
View raw message