You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/01/31 15:00:13 UTC

[jira] [Commented] (PROTON-502) [proton-j] add UnsignedLong.valueOf(BigInteger)

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

ASF subversion and git services commented on PROTON-502:
--------------------------------------------------------

Commit 1563134 from [~gemmellr] in branch 'proton/trunk'
[ https://svn.apache.org/r1563134 ]

PROTON-501, PROTON-502: fix range checking for UnsignedLong#valueOf(String). Add support for UnsignedLong#valueOf(BigInteger)

> [proton-j] add UnsignedLong.valueOf(BigInteger)
> -----------------------------------------------
>
>                 Key: PROTON-502
>                 URL: https://issues.apache.org/jira/browse/PROTON-502
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>             Fix For: 0.7
>
>
> UnsignedLong currently has valueOf(long) and valueOf(String), with matching longValue() and toString() methods. It also has bigIntegerValue(), but has no corresponding valueOf(BigInteger) method. The first thing valueOf(String) does is create a BigInteger, so it should simply be offered as a direct option.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)