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

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

diff --git a/src/main/java/org/apache/commons/net/smtp/SMTP.java 
b/src/main/java/org/apache/commons/net/smtp/SMTP.java
index 22b0b93f..67c346db 100644
--- a/src/main/java/org/apache/commons/net/smtp/SMTP.java
+++ b/src/main/java/org/apache/commons/net/smtp/SMTP.java
@@ -265,7 +265,7 @@ public class SMTP extends SocketClient {
 
         for (final String line : replyLines) {
             buffer.append(line);
-            buffer.append(SocketClient.NETASCII_EOL);
+            buffer.append(NETASCII_EOL);
         }
 
         newReplyString = false;
@@ -526,7 +526,7 @@ public class SMTP extends SocketClient {
             __commandBuffer.append(args);
         }
 
-        __commandBuffer.append(SocketClient.NETASCII_EOL);
+        __commandBuffer.append(NETASCII_EOL);
 
         final String message = __commandBuffer.toString();
         writer.write(message);

Reply via email to