NO-JIRA: make javadoc more specific to clarify meaning (cherry picked from commit 156c0f7b2c0ade0aa52f87d187e58442326a815d)
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/commit/877e6cbb Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/tree/877e6cbb Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/diff/877e6cbb Branch: refs/heads/0.27.x Commit: 877e6cbb6bcbff66348369b2022a86b39f2548ac Parents: d5201c8 Author: Robbie Gemmell <[email protected]> Authored: Wed Jul 4 15:20:43 2018 +0100 Committer: Robbie Gemmell <[email protected]> Committed: Fri Jul 13 19:18:02 2018 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/qpid/proton/codec/ReadableBuffer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/877e6cbb/proton-j/src/main/java/org/apache/qpid/proton/codec/ReadableBuffer.java ---------------------------------------------------------------------- diff --git a/proton-j/src/main/java/org/apache/qpid/proton/codec/ReadableBuffer.java b/proton-j/src/main/java/org/apache/qpid/proton/codec/ReadableBuffer.java index ea3ef17..05cbb97 100644 --- a/proton-j/src/main/java/org/apache/qpid/proton/codec/ReadableBuffer.java +++ b/proton-j/src/main/java/org/apache/qpid/proton/codec/ReadableBuffer.java @@ -58,10 +58,10 @@ public interface ReadableBuffer { byte[] array(); /** - * Returns the offset into the backing array where data should be read from. The caller + * Returns the offset into the backing array of the first element in the buffer. The caller * should have checked the {@link #hasArray()} method before calling this method. * - * @return the offset into the backing array to start reading from. + * @return the offset into the backing array of the first element in the buffer. * * @throws UnsupportedOperationException if this {@link ReadableBuffer} doesn't support array access. * @throws ReadOnlyBufferException if the ReadableBuffer is read-only. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
