[jira] [Resolved] (PROTON-1925) [proton-j] Add some enums to Section and DeliveryState to make type determination simpler
[ https://issues.apache.org/jira/browse/PROTON-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved PROTON-1925. -- Resolution: Fixed > [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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Resolved] (PROTON-1925) [proton-j] Add some enums to Section and DeliveryState to make type determination simpler
[ https://issues.apache.org/jira/browse/PROTON-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved PROTON-1925. -- Resolution: Fixed > [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: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org