(tomcat) branch 11.0.x updated: Fix javadoc
[email protected] Wed, 08 Jul 2026 17:56:11 +0000
| Newsgroups | gmane.comp.jakarta.tomcat.devel |
|---|---|
| Message-ID | <178353337180.859149.12579337976273035106@gitbox3-he-fi.apache.org> |
This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new f52b89a6a3 Fix javadoc
f52b89a6a3 is described below
commit f52b89a6a310dc0a6b74ab2d72acd15b3779cecb
Author: remm <[email protected]>
AuthorDate: Wed Jul 8 19:47:51 2026 +0200
Fix javadoc
---
java/org/apache/catalina/tribes/Channel.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/java/org/apache/catalina/tribes/Channel.java b/java/org/apache/catalina/tribes/Channel.java
index 8dff52a9b1..198e952a78 100644
--- a/java/org/apache/catalina/tribes/Channel.java
+++ b/java/org/apache/catalina/tribes/Channel.java
@@ -273,7 +273,7 @@ public interface Channel {
/**
* Send a message to one or more members in the cluster
*
- * @param destination Member[] - the destinations, null or zero length means all members. Note that a membership
+ * @param destination Member[] - the destinations. Note that a membership
* change can occur between obtaining the member list and sending the message, so the
* application is uncertain what group the message actually got sent to.
* @param msg Serializable - the message to send, has to be serializable, or a <code>ByteMessage</code> to
@@ -283,7 +283,7 @@ public interface Channel {
*
* @return a unique Id that identifies the message that is sent
*
- * @throws ChannelException if a serialization error happens.
+ * @throws ChannelException if the msg is null, if the destination is null or is empty, or if a serialization error happens.
*
* @see ByteMessage
* @see #SEND_OPTIONS_USE_ACK
@@ -295,7 +295,7 @@ public interface Channel {
/**
* Send a message to one or more members in the cluster
*
- * @param destination Member[] - the destinations, null or zero length means all members. Note that a membership
+ * @param destination Member[] - the destinations. Note that a membership
* change can occur between obtaining the member list and sending the message, so the
* application is uncertain what group the message actually got sent to.
* @param msg ClusterMessage - the message to send
@@ -304,7 +304,7 @@ public interface Channel {
*
* @return a unique Id that identifies the message that is sent
*
- * @exception ChannelException - if a serialization error happens.
+ * @throws ChannelException if the msg is null, if the destination is null or is empty, or if a serialization error happens.
*/
UniqueId send(Member[] destination, Serializable msg, int options, ErrorHandler handler) throws ChannelException;