[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-24 Thread Joerg Schaible (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13156639#comment-13156639 ] Joerg Schaible commented on LANG-778: - bq. OK, so is there any documentation that we can

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-24 Thread Joerg Schaible (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13156648#comment-13156648 ] Joerg Schaible commented on LANG-778: - Maybe I have an even better idea: Let's ditch

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-24 Thread Sebb (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13156649#comment-13156649 ] Sebb commented on LANG-778: --- OK, let's reference the RFC then. == The RFC says the default

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-23 Thread Joerg Schaible (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155754#comment-13155754 ] Joerg Schaible commented on LANG-778: - bq. It seems a shame not to be able to use the

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-23 Thread Sebb (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155881#comment-13155881 ] Sebb commented on LANG-778: --- ByteUtils could just use the same endianness as

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-23 Thread Joerg Schaible (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155909#comment-13155909 ] Joerg Schaible commented on LANG-778: - bq: BTW, why did you decide to use high byte

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-23 Thread Sebb (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155929#comment-13155929 ] Sebb commented on LANG-778: --- Let's start again. A UUID cannot be stored in some databases, so

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-23 Thread Sebb (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155930#comment-13155930 ] Sebb commented on LANG-778: --- Since the methods must necessarily be inverses of each other, I think

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-23 Thread Joerg Schaible (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155951#comment-13155951 ] Joerg Schaible commented on LANG-778: - bq. Is there a reason for choosing to convert the

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-23 Thread Sebb (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155969#comment-13155969 ] Sebb commented on LANG-778: --- OK, so is there any documentation that we can point to which

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-22 Thread Sebb (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155110#comment-13155110 ] Sebb commented on LANG-778: --- Aren't there any LANG methods to convert a long (short, int) to a

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-22 Thread David J. M. Karlsen (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155132#comment-13155132 ] David J. M. Karlsen commented on LANG-778: -- is it really neccessary? You get a

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-22 Thread Joerg Schaible (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155133#comment-13155133 ] Joerg Schaible commented on LANG-778: - I did not find any. OTOH would not like to create

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-22 Thread Joerg Schaible (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155160#comment-13155160 ] Joerg Schaible commented on LANG-778: - bq. is it really neccessary? There is nothing to

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-22 Thread Konstantin Kolinko (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155170#comment-13155170 ] Konstantin Kolinko commented on LANG-778: - My review comments (not binding) for

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-22 Thread Joerg Schaible (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155204#comment-13155204 ] Joerg Schaible commented on LANG-778: - bq. you do not need those 0xff Fine, learned

[jira] [Commented] (LANG-778) Add UUIDUtils.toByteArray and UUIDUtils.fromByteArray

2011-11-22 Thread Sebb (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/LANG-778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13155208#comment-13155208 ] Sebb commented on LANG-778: --- Could perhaps consider a method such as int