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