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 06:04:34 UTC
svn commit: r1356568 -
/db/derby/code/trunk/java/client/org/apache/derby/client/net/NetPackageReply.java
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
- }
}