Fix only use of .toLowerCase() with no Locale (#12856)

This commit is contained in:
Jakub Slowinski 2024-01-08 21:04:04 +00:00 committed by GitHub
parent a32f6acadf
commit 6d27c20579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -190,6 +190,6 @@ public class Checksum extends DefaultTask {
private FileCollection filesFor(final Algorithm algo) {
return getProject()
.fileTree(getOutputDir(), files -> files.include("**/*." + algo.toString().toLowerCase()));
.fileTree(getOutputDir(), files -> files.include("**/*." + algo.toString().toLowerCase(Locale.ROOT)));
}
}