You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/23 12:49:56 UTC
[commons-net] 02/03: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git
commit 161813f859e40ddcd1db1b928fa4f45ae02eaeed
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jun 23 08:42:45 2023 -0400
Javadoc
---
src/main/java/org/apache/commons/net/DatagramSocketClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/net/DatagramSocketClient.java b/src/main/java/org/apache/commons/net/DatagramSocketClient.java
index bbb9db5b..2280f3a7 100644
--- a/src/main/java/org/apache/commons/net/DatagramSocketClient.java
+++ b/src/main/java/org/apache/commons/net/DatagramSocketClient.java
@@ -229,7 +229,7 @@ public abstract class DatagramSocketClient {
* method should be used prior to a call to {@link #open open()} and should not be confused with {@link #setSoTimeout setSoTimeout()} which operates on the
* currently open socket. _timeout_ contains the new timeout value.
*
- * @param timeout The timeout in milliseconds to use for the datagram socket connection.
+ * @param timeout The timeout durations to use for the datagram socket connection.
*/
public void setDefaultTimeout(final Duration timeout) {
_timeout_ = Math.toIntExact(timeout.toMillis());