[ 
https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13157140#comment-13157140
 ] 

Konstantin Kolinko commented on LANG-778:
-----------------------------------------

I like the new concept a lot less than the original one.

(And where did the original patch disappeared? You can remove them as you like 
from JIRA?)

It started with little small and understandable utility for the UUID class.

Now if I want to work with UUID, how am I supposed to know that some ByteArray 
class has the methods? The class name does not give me any clue.

If you really want to reuse byte[] <-> long conversion that exists elsewhere, 
you can just call that other class method. But please keep goal of each single 
class well defined.
                
> Add ByteArrayUtils
> ------------------
>
>                 Key: LANG-778
>                 URL: https://issues.apache.org/jira/browse/LANG-778
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Joerg Schaible
>            Assignee: Joerg Schaible
>            Priority: Minor
>         Attachments: LANG-778.diff
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> ByteArrayUtils will currently contain only conversion methods between several 
> types and an array of bytes. The functionality is similar to DataInput and 
> DataOutput, but without the indirection of IO streams. As special type the 
> utility class supports also conversion between UUID and byte array (memory 
> layout as described in RFC 4122).

--
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

        

Reply via email to