public static @NotNull @Nls String getRevisionTitle(@Nullable ContentRevision revision, @NotNull @Nls String defaultValue) {
    if (revision == null) {
      return defaultValue;
    }
    String title = revision.getRevisionNumber().asString();
    return title.isEmpty() ? defaultValue : title;
  }
public static @NotNull @Nls String getRevisionTitle(@Nullable ContentRevision revision, @NotNull @Nls String defaultValue)