mirror of https://github.com/apache/lucene.git
Use toLowerCase with an explicit locale in CheckLinksAndAnchors.
This commit is contained in:
parent
9e5d11be8a
commit
6f0842eaa5
|
@ -121,7 +121,7 @@ public class CheckLinksAndAnchors { // TODO: rename this class now that it does
|
|||
|
||||
public static final class HtmlFileFilter implements FileFilter {
|
||||
public boolean accept(File pathname) {
|
||||
return pathname.getName().toLowerCase().endsWith("html");
|
||||
return pathname.getName().toLowerCase(Locale.ROOT).endsWith("html");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue