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 240dd5bde279e75924d512bf4ec6a81ac24c8464
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jun 16 08:12:17 2024 -0400

    Fix PMD UnnecessaryFullyQualifiedName
---
 src/main/java/org/apache/commons/net/nntp/NNTP.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/net/nntp/NNTP.java 
b/src/main/java/org/apache/commons/net/nntp/NNTP.java
index 454bd532..eca42b97 100644
--- a/src/main/java/org/apache/commons/net/nntp/NNTP.java
+++ b/src/main/java/org/apache/commons/net/nntp/NNTP.java
@@ -303,7 +303,7 @@ public class NNTP extends SocketClient {
             throw new MalformedServerReplyException("Could not parse response 
code.\nServer Reply: " + replyString);
         }
 
-        fireReplyReceived(replyCode, replyString + SocketClient.NETASCII_EOL);
+        fireReplyReceived(replyCode, replyString + NETASCII_EOL);
 
         if (replyCode == NNTPReply.SERVICE_DISCONTINUED) {
             throw new NNTPConnectionClosedException("NNTP response 400 
received.  Server closed connection.");
@@ -647,7 +647,7 @@ public class NNTP extends SocketClient {
             __commandBuffer.append(' ');
             __commandBuffer.append(args);
         }
-        __commandBuffer.append(SocketClient.NETASCII_EOL);
+        __commandBuffer.append(NETASCII_EOL);
 
         final String message;
         _writer_.write(message = __commandBuffer.toString());

Reply via email to