Fixing compile issue. File.getName(Locale) is not allowed.

This commit is contained in:
Joakim Erdfelt 2012-11-01 19:12:36 -07:00
parent 65202e9abe
commit b6cca66914
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ public class Main
return false;
}
String name = path.getName(Locale.ENGLISH).toLowerCase();
String name = path.getName().toLowerCase();
return (name.startsWith("jetty") && name.endsWith(".xml"));
}
});