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

ASF subversion and git services commented on QPID-8756:
-------------------------------------------------------

Commit 7049ac46e16a61ca57e9492fbd4c6d5e121a6d38 in qpid-broker-j's branch 
refs/heads/main from Daniil Kirilyuk
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=7049ac46e1 ]

QPID-8756: [Broker-J] AMQP-1.0 unsigned classes should use java 8+ APIs (#434)

> [Broker-J] AMQP-1.0 unsigned classes should use java 8+ APIs
> ------------------------------------------------------------
>
>                 Key: QPID-8756
>                 URL: https://issues.apache.org/jira/browse/QPID-8756
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-10.1.0
>            Reporter: Daniil Kirilyuk
>            Assignee: Daniil Kirilyuk
>            Priority: Minor
>             Fix For: qpid-java-broker-10.1.1
>
>
> Currently in qpid-broker-plugins\amqp-1-0-protocol classes UnsignedByte, 
> UnsignedInteger, UnsignedLong and UnsignedShort use older APIs for numeric 
> comparison. They should be refactored to use the java 8+ APIs.
> *Implementation*
> Classes UnsignedByte, UnsignedInteger, UnsignedLong and UnsignedShort should 
> use built-in java methods instead of custom comparison, parsing and 
> formatting. Usage of constructors should be discouraged as they create new 
> allocations, usage of factory methods should be encouraged instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to