Revert "fix: type witness syntax for Comparator.comparingInt"

This reverts commit dfc0589887.
This commit is contained in:
Hermes Agent
2026-06-11 12:22:43 +02:00
parent dfc0589887
commit 6c07f29ab9
@@ -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
})