You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2021/08/24 17:21:22 UTC
[qpid-protonj2] branch main updated: PROTON-2394 Update to javadocs
the ClientMessage constructors
This is an automated email from the ASF dual-hosted git repository.
tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git
The following commit(s) were added to refs/heads/main by this push:
new 3913c97 PROTON-2394 Update to javadocs the ClientMessage constructors
3913c97 is described below
commit 3913c97bb8e685ddae0ab67958e96889afe4225d
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Tue Aug 24 13:15:28 2021 -0400
PROTON-2394 Update to javadocs the ClientMessage constructors
Changes in the message removed the use of supplier instance and the docs
need to be updated.
---
.../org/apache/qpid/protonj2/client/impl/ClientMessage.java | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientMessage.java b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientMessage.java
index 3fece03..dcbc8f7 100644
--- a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientMessage.java
+++ b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientMessage.java
@@ -26,7 +26,6 @@ import java.util.Map;
import java.util.Objects;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
-import java.util.function.Supplier;
import org.apache.qpid.protonj2.buffer.ProtonBuffer;
import org.apache.qpid.protonj2.client.AdvancedMessage;
@@ -62,19 +61,15 @@ public class ClientMessage<E> implements AdvancedMessage<E> {
private int messageFormat;
/**
- * Create a new {@link ClientMessage} instance with no default body section or
- * section supplier
- *
- * @param sectionSupplier
- * A {@link Supplier} that will generate Section values for the message body.
+ * Create a new {@link ClientMessage} instance with no default body section.
*/
ClientMessage() {
this.body = null;
}
/**
- * Create a new {@link ClientMessage} instance with a {@link Supplier} that will
- * provide the AMQP {@link Section} value for any body that is set on the message.
+ * Create a new {@link ClientMessage} instance with a {@link Section} value that
+ * will comprise the body of this message instance.
*
* @param body
* The object that comprises the value portion of the body {@link Section}.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org