db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohamed Nufail (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5826) Remove unused methods in NetConnectionReply class
Date Fri, 22 Jun 2012 05:58:42 GMT

     [ 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

        

Mime
View raw message