You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Tomas Vavricka (Jira)" <ji...@apache.org> on 2026/09/14 08:48:00 UTC

[jira] [Updated] (QPID-8756) [Broker-J] AMQP-1.0 unsigned classes should use java 8+ APIs

     [ https://issues.apache.org/jira/browse/QPID-8756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Vavricka updated QPID-8756:
---------------------------------
    Description: 
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.

  was: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.


> [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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org