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-compress.git
commit 67ffe74df4c937fed00858ce7666deac7e0d1e1c Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jul 20 10:41:23 2025 -0400 Use StringUtils.toRootUpperCase --- .../org/apache/commons/compress/archivers/ArchiveStreamFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java index 88eb793a7..e6bbba37d 100644 --- a/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java +++ b/src/main/java/org/apache/commons/compress/archivers/ArchiveStreamFactory.java @@ -25,7 +25,6 @@ import java.security.AccessController; import java.security.PrivilegedAction; import java.util.Collections; -import java.util.Locale; import java.util.ServiceLoader; import java.util.Set; import java.util.SortedMap; @@ -47,6 +46,7 @@ import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream; import org.apache.commons.compress.utils.IOUtils; import org.apache.commons.compress.utils.Sets; +import org.apache.commons.lang3.StringUtils; /** * Creates an Archive[In|Out]putStreams from names or the first bytes of the InputStream. In order to add other implementations, you should extend @@ -357,7 +357,7 @@ static void putAll(final Set<String> names, final ArchiveStreamProvider provider } private static String toKey(final String name) { - return name.toUpperCase(Locale.ROOT); + return StringUtils.toRootUpperCase(name); } /**