db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5627) Remove unused methods in UUID classes
Date Thu, 23 Feb 2012 13:09:48 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Knut Anders Hatlen updated DERBY-5627:

    Attachment: d5627-1a.diff

Attaching a patch that removes the methods. It also removes the call to the otherwise unused
recreateUUID() method from T_UUIDFactory.

All the regression tests ran cleanly with the patch.
> Remove unused methods in UUID classes
> -------------------------------------
>                 Key: DERBY-5627
>                 URL: https://issues.apache.org/jira/browse/DERBY-5627
>             Project: Derby
>          Issue Type: Improvement
>          Components: Services
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Trivial
>         Attachments: d5627-1a.diff
> The UUIDFactory and UUID interfaces (and their implementations) contain some unused methods
that could be removed:
> UUIDFactory/BasicUUIDFactory: The method recreateUUID(byte[]) is not used, except in
a unit test (T_UUIDFactory)
> UUID/BasicUUID: The methods toByteArray() and toHexString() are never called, and the
constructor BasicUUID(byte[]) is only called by the unused recreateUUID() factory method.

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


View raw message