[ https://issues.apache.org/jira/browse/PROTON-313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell updated PROTON-313: ---------------------------------- Description: In order to determine remote settlement it is currently necessary to perform a cast : {noformat} // TODO - remove this hack when Proton-J and -C APIs are properly aligned // The C API defines isSettled as being true if the delivery has been settled locally OR remotely return _delivery.isSettled() || ((_delivery instanceof DeliveryImpl && ((DeliveryImpl)_delivery).remotelySettled())); {noformat} was: In order to determine remote settlement it is currently necessary to perform a cast : {noformat} // TODO - remove this hack when Proton-J and -C APIs are properly aligned // The C API defines isSettled as being true if the delivery has been settled locally OR remotely return _delivery.isSettled() || ((_delivery instanceof DeliveryImpl && ((DeliveryImpl)_delivery).remotelySettled())); {noformat} > [Proton-J] no consistent way to determine remote settlement > ----------------------------------------------------------- > > Key: PROTON-313 > URL: https://issues.apache.org/jira/browse/PROTON-313 > Project: Qpid Proton > Issue Type: Bug > Reporter: Robbie Gemmell > > In order to determine remote settlement it is currently necessary to perform > a cast : > {noformat} > // TODO - remove this hack when Proton-J and -C APIs are > properly aligned > // The C API defines isSettled as being true if the delivery > has been settled locally OR remotely > return _delivery.isSettled() || ((_delivery instanceof > DeliveryImpl && ((DeliveryImpl)_delivery).remotelySettled())); > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira