Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Allow JSR223 scripts with same name in different directories #3855

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -233,11 +233,8 @@ private void checkFiles() {
@Override
public int compare(URL o1, URL o2) {
String f1 = o1.getPath();
String s1 = f1.substring(f1.lastIndexOf("/") + 1);
String f2 = o2.getPath();
String s2 = f2.substring(f2.lastIndexOf("/") + 1);

return String.CASE_INSENSITIVE_ORDER.compare(s1, s2);
return String.CASE_INSENSITIVE_ORDER.compare(f1, f2);
}
});

Expand Down