You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mohamed Nufail (JIRA)" <ji...@apache.org> on 2012/06/22 07:58:42 UTC
[jira] [Updated] (DERBY-5826) Remove unused methods in
NetConnectionReply class
[ https://issues.apache.org/jira/browse/DERBY-5826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohamed Nufail updated DERBY-5826:
----------------------------------
Attachment: DERBY-5826.patch
Attached a patch. This patch removes the 4 methods mentioned above and the method parseConnectError() which is being used only by the removed method verifyConnectReply(int codept)
> Remove unused methods in NetConnectionReply class
> -------------------------------------------------
>
> Key: DERBY-5826
> URL: https://issues.apache.org/jira/browse/DERBY-5826
> Project: Derby
> Issue Type: Task
> Reporter: Mohamed Nufail
> Priority: Minor
> Attachments: DERBY-5826.patch
>
>
> Code inspection of the NetConnectionReply class reveals that the following methods are not used at all.
> - verifyConnectReply(int codept)
> - readDummyExchangeServerAttributes(Connection connection)
> - checkRequiredObjects(boolean receivedFlag, boolean receivedFlag2, boolean receivedFlag3, boolean receivedFlag4, boolean receivedFlag5, boolean receivedFlag6)
> - checkRequiredObjects(boolean receivedFlag, boolean receivedFlag2, boolean receivedFlag3, boolean receivedFlag4, boolean receivedFlag5, boolean receivedFlag6, boolean receivedFlag7)
> It may be possible to just remove these methods if they are not required.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira