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 2024/06/16 13:02:58 UTC
(commons-net) 06/26: Fix PMD UnnecessaryFullyQualifiedName
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 db917409069da006e29f769312ebc38a18cbffb0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 16 08:03:47 2024 -0400
Fix PMD UnnecessaryFullyQualifiedName
---
.../commons/net/examples/telnet/TelnetClientExample.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/commons/net/examples/telnet/TelnetClientExample.java b/src/main/java/org/apache/commons/net/examples/telnet/TelnetClientExample.java
index 1c315a66..1e645dd7 100644
--- a/src/main/java/org/apache/commons/net/examples/telnet/TelnetClientExample.java
+++ b/src/main/java/org/apache/commons/net/examples/telnet/TelnetClientExample.java
@@ -214,19 +214,19 @@ public class TelnetClientExample implements Runnable, TelnetNotificationHandler
public void receivedNegotiation(final int negotiation_code, final int option_code) {
String command;
switch (negotiation_code) {
- case TelnetNotificationHandler.RECEIVED_DO:
+ case RECEIVED_DO:
command = "DO";
break;
- case TelnetNotificationHandler.RECEIVED_DONT:
+ case RECEIVED_DONT:
command = "DONT";
break;
- case TelnetNotificationHandler.RECEIVED_WILL:
+ case RECEIVED_WILL:
command = "WILL";
break;
- case TelnetNotificationHandler.RECEIVED_WONT:
+ case RECEIVED_WONT:
command = "WONT";
break;
- case TelnetNotificationHandler.RECEIVED_COMMAND:
+ case RECEIVED_COMMAND:
command = "COMMAND";
break;
default: