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-release-plugin.git
The following commit(s) were added to refs/heads/master by this push: new c1ed825 Use StringUtils.toRootLowerCase c1ed825 is described below commit c1ed825921aab350b0d5800b7307033840a6b374 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jul 20 11:00:39 2025 -0400 Use StringUtils.toRootLowerCase --- .../release/plugin/mojos/CommonsDistributionDetachmentMojo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java index b99a1fd..d1a092e 100644 --- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java +++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java @@ -26,7 +26,6 @@ import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; -import java.util.Locale; import java.util.Set; import org.apache.commons.codec.digest.DigestUtils; @@ -225,7 +224,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { */ private void hashArtifacts() throws MojoExecutionException { for (final Artifact artifact : detachedArtifacts) { - if (!artifact.getFile().getName().toLowerCase(Locale.ROOT).contains("asc")) { + if (!StringUtils.toRootLowerCase(artifact.getFile().getName()).contains("asc")) { final String artifactKey = getArtifactKey(artifact); try { final String digest;