private static @NotNull SimpleDiffRequest createTwoSideRequest(@Nullable Project project,
                                                                 @Nullable ContentRevision leftRevision,
                                                                 @Nullable ContentRevision rightRevision,
                                                                 @NotNull @NlsContexts.DialogTitle String requestTitle,
                                                                 @NotNull @NlsContexts.Label String leftTitle,
                                                                 @NotNull @NlsContexts.Label String rightTitle,
                                                                 @NotNull UserDataHolder context,
                                                                 @NotNull ProgressIndicator indicator)
    throws DiffRequestProducerException {
    return new SimpleDiffRequest(requestTitle,
                                 ChangeDiffRequestProducer.createContent(project, leftRevision, context, indicator),
                                 ChangeDiffRequestProducer.createContent(project, rightRevision, context, indicator),
                                 leftTitle, rightTitle);
  }
private static @NotNull SimpleDiffRequest createTwoSideRequest(@Nullable Project project,
                                                                 @Nullable ContentRevision leftRevision,
                                                                 @Nullable ContentRevision rightRevision,
                                                                 @NotNull @NlsContexts.DialogTitle String requestTitle,
                                                                 @NotNull @NlsContexts.Label String leftTitle,
                                                                 @NotNull @NlsContexts.Label String rightTitle,
                                                                 @NotNull UserDataHolder context,
                                                                 @NotNull ProgressIndicator indicator)