You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2018/07/13 18:36:35 UTC

[4/8] qpid-proton-j git commit: NO-JIRA: make javadoc more specific to clarify meaning

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 <ro...@apache.org>
Authored: Wed Jul 4 15:20:43 2018 +0100
Committer: Robbie Gemmell <ro...@apache.org>
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: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org