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 2025/05/19 12:05:19 UTC
(commons-net) branch master updated: Use an import instead of a FQCN
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 f14a91ea Use an import instead of a FQCN
f14a91ea is described below
commit f14a91eafa6c084d5e42f2be2e8c525b0c480eb7
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Mon May 19 08:05:14 2025 -0400
Use an import instead of a FQCN
---
src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java b/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java
index 3fb3380f..dd6dacad 100644
--- a/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java
+++ b/src/main/java/org/apache/commons/net/tftp/TFTPRequestPacket.java
@@ -22,6 +22,7 @@ import java.net.InetAddress;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
+import java.util.Locale;
import java.util.Map;
/**
@@ -118,7 +119,7 @@ public abstract class TFTPRequestPacket extends TFTPPacket {
++index;
}
- final String modeString = buffer.toString().toLowerCase(java.util.Locale.ENGLISH);
+ final String modeString = buffer.toString().toLowerCase(Locale.ENGLISH);
final int modeStringsLength = modeStrings.length;
int mode = 0;