boolean (@NotNull FilePath filePath1, @Nullable VcsRevisionNumber startingRevision1, @NotNull FilePath filePath2, @Nullable VcsRevisionNumber startingRevision2) { String existingRevision = startingRevision1 == null ? null : startingRevision1.asString(); String newRevision = startingRevision2 == null ? null : startingRevision2.asString(); return filePath1.equals(filePath2) && Objects.equals(existingRevision, newRevision); }