[
https://issues.apache.org/jira/browse/QPID-8756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115066#comment-18115066
]
ASF GitHub Bot commented on QPID-8756:
--------------------------------------
vavrtom merged PR #434:
URL: https://github.com/apache/qpid-broker-j/pull/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]