boolean (@NotNull AbstractFilePatchInProgress<?> match, int matchLines, @NotNull AbstractFilePatchInProgress<?> best, int bestLines) { return matchLines > bestLines || matchLines == bestLines && myBaseDir.equals(match.getBase()); }