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
The following commit(s) were added to refs/heads/master by this push: new b4d60396 Javadoc b4d60396 is described below commit b4d603966cf8e1a6e8904a04c7a4131964a0d051 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Jul 23 09:27:50 2024 -0400 Javadoc --- .../java/org/apache/commons/net/daytime/DaytimeTCPClient.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java b/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java index d5043308..cb604f79 100644 --- a/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java +++ b/src/main/java/org/apache/commons/net/daytime/DaytimeTCPClient.java @@ -31,11 +31,13 @@ import org.apache.commons.net.SocketClient; * @see DaytimeUDPClient */ public final class DaytimeTCPClient extends SocketClient { + /** The default daytime port. It is set to 13 according to RFC 867. */ public static final int DEFAULT_PORT = 13; - // Received dates will likely be less than 64 characters. - // This is a temporary buffer used while receiving data. + /** + * Received dates will likely be less than 64 characters. This is a temporary buffer used while receiving data. + */ private final char[] buffer = new char[64]; /** @@ -46,7 +48,7 @@ public final class DaytimeTCPClient extends SocketClient { } /** - * Retrieves the time string from the server and returns it. The server will have closed the connection at this point, so you should call + * Gets the time string from the server and returns it. The server will have closed the connection at this point, so you should call * {@link org.apache.commons.net.SocketClient#disconnect disconnect } after calling this method. To retrieve another time, you must initiate another * connection with {@link org.apache.commons.net.SocketClient#connect connect } before calling <code>getTime()</code> again. *