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 "Knut Anders Hatlen (Created) (JIRA)" <ji...@apache.org> on 2012/02/23 14:03:48 UTC

[jira] [Created] (DERBY-5627) Remove unused methods in UUID classes

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: 10.9.0.0
            Reporter: Knut Anders Hatlen
            Assignee: Knut Anders Hatlen
            Priority: Trivial


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

        

[jira] [Closed] (DERBY-5627) Remove unused methods in UUID classes

Posted by "Knut Anders Hatlen (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen closed DERBY-5627.
-------------------------------------

          Resolution: Fixed
       Fix Version/s: 10.9.0.0
    Issue & fix info:   (was: Patch Available)

Committed revision 1293147.
                
> 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: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>            Priority: Trivial
>             Fix For: 10.9.0.0
>
>         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

        

[jira] [Updated] (DERBY-5627) Remove unused methods in UUID classes

Posted by "Knut Anders Hatlen (Updated) (JIRA)" <ji...@apache.org>.
     [ 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: 10.9.0.0
>            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