From b21dc69e815a97da922f5122d124d317aab7b78e Mon Sep 17 00:00:00 2001 From: Christian Posta Date: Mon, 9 Dec 2013 09:14:38 -0700 Subject: [PATCH] added time unit for "send timeout" in the javadocs --- .../src/main/java/org/apache/activemq/ActiveMQConnection.java | 4 ++-- .../java/org/apache/activemq/ActiveMQConnectionFactory.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnection.java b/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnection.java index 50573234d9..ec4d38ab84 100755 --- a/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnection.java +++ b/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnection.java @@ -1777,14 +1777,14 @@ public class ActiveMQConnection implements Connection, TopicConnection, QueueCon } /** - * @return the sendTimeout + * @return the sendTimeout (in milliseconds) */ public int getSendTimeout() { return sendTimeout; } /** - * @param sendTimeout the sendTimeout to set + * @param sendTimeout the sendTimeout to set (in milliseconds) */ public void setSendTimeout(int sendTimeout) { this.sendTimeout = sendTimeout; diff --git a/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java b/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java index fbbfc2b6c2..58fee6e7e7 100755 --- a/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java +++ b/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionFactory.java @@ -616,14 +616,14 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne } /** - * @return the sendTimeout + * @return the sendTimeout (in milliseconds) */ public int getSendTimeout() { return sendTimeout; } /** - * @param sendTimeout the sendTimeout to set + * @param sendTimeout the sendTimeout to set (in milliseconds) */ public void setSendTimeout(int sendTimeout) { this.sendTimeout = sendTimeout;