You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2012/11/07 15:53:12 UTC
[jira] [Commented] (PROTON-120) Link.delivery() signature takes
offset and size which are not used
[ https://issues.apache.org/jira/browse/PROTON-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492400#comment-13492400 ]
Hiram Chirino commented on PROTON-120:
--------------------------------------
I would prefer if it did use the offset and size but as temporary solution you could just validate the offset ==0 and size == data.length and throw a IllegalArgumentException if it does not match. This keeps the API open to actually take advantage of the optimization that the API signature is suggesting apps use.
> Link.delivery() signature takes offset and size which are not used
> ------------------------------------------------------------------
>
> Key: PROTON-120
> URL: https://issues.apache.org/jira/browse/PROTON-120
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-j
> Affects Versions: 0.1, 0.2
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Priority: Minor
> Fix For: 0.3
>
> Attachments: delivery_signature.patch
>
>
> One option is that these should be used. Another is that they can be removed from the API.
--
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