You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/05/17 14:39:10 UTC

[GitHub] ivankelly opened a new issue #1411: LedgerEntry#getLength does not do what the documentation says

ivankelly opened a new issue #1411: LedgerEntry#getLength does not do what the documentation says
URL: https://github.com/apache/bookkeeper/issues/1411
 
 
   You would expect getLength on a LedgerEntry to return the length of the data in the entry. The documentation says it does this, and the Mock implementation do so too. But this is not what it does. It in fact returns the length of the ledger up to and including this entry.
   
   At the very least this is a documentation bug, but this name is super confusing even if the documentation is updated.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services