Skip to content

Commit

Permalink
Fixed missing locale in toLowerCase.
Browse files Browse the repository at this point in the history
  • Loading branch information
tzezula committed Jul 12, 2016
1 parent 2161a13 commit 1fc1ce1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import java.util.Vector;
Expand Down Expand Up @@ -1766,7 +1767,7 @@ private Path expandModulePath(Path modulePath) {
for (String path : modulePath.list()) {
final File modulePathEntry = getProject().resolveFile(path);
if (modulePathEntry.isDirectory() && !hasModuleInfo(modulePathEntry)) {
final File[] modules = modulePathEntry.listFiles((dir,name)->name.toLowerCase().endsWith(".jar"));
final File[] modules = modulePathEntry.listFiles((dir,name)->name.toLowerCase(Locale.ENGLISH).endsWith(".jar"));
if (modules != null) {
for (File module : modules) {
expanded.add(new Path(getProject(), String.format(
Expand Down

0 comments on commit 1fc1ce1

Please sign in to comment.