[
https://issues.apache.org/jira/browse/PROTON-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16597746#comment-16597746
]
ASF subversion and git services commented on PROTON-1925:
---------------------------------------------------------
Commit 3be632d436c52373a53e8ae0c27aac1643960021 in qpid-proton-j's branch
refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=3be632d ]
PROTON-1925 Add enum values for know Section and DeliveryState
Allows for simpler identification and processing using switch or other
logic instead of instanceof checks for all types.
> [proton-j] Add some enums to Section and DeliveryState to make type
> determination simpler
> -----------------------------------------------------------------------------------------
>
> Key: PROTON-1925
> URL: https://issues.apache.org/jira/browse/PROTON-1925
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-j
> Affects Versions: proton-j-0.29.0
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Priority: Trivial
> Fix For: proton-j-0.30.0
>
>
> Add enums for the known Section and DeliveryState types to allow for easier
> identification of the types when writing code to process the events for
> incoming messages and delivery state updates. Right now we are forced to use
> many instanceof calls to decide what the types are in order to react.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]