Revert "fix: type witness syntax for Comparator.comparingInt"
This reverts commit dfc0589887.
This commit is contained in:
@@ -106,7 +106,7 @@ public class ExecutableDetector {
|
||||
|
||||
if (candidates.isEmpty()) return null;
|
||||
candidates.sort(Comparator
|
||||
.<Candidate>comparingInt(c -> {
|
||||
.<Candidate, Integer>comparingInt(c -> {
|
||||
String n = c.path().toLowerCase();
|
||||
return n.endsWith(".bat") ? 1 : 0; // prefer .exe/.com over .bat
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user