CPD Results

The following document contains the results of PMD's CPD 6.21.0.

Duplications

File Project Line
org/waarp/vitam/dip/DipTask.java Waarp Vitam Module 162
org/waarp/vitam/ingest/IngestTask.java Waarp Vitam Module 189
      logger.error("Issue since DipRequest cannot be saved", e);
    }
    return 2;
  }

  /**
   * Equivalent JavaTask
   */
  public static class JavaTask extends AbstractExecJavaTask {
    @Override
    public void run() {
      String[] args;
      if (!fullarg.contains("-s ") && !fullarg.contains("--session ")) {
        try {
          String key = this.session.getRunner().getKey();
          args = BLANK.split(fullarg + " -s " + key);
        } catch (Throwable e) {
          args = BLANK.split(fullarg);
        }
      } else {
        args = BLANK.split(fullarg);
      }
      main(args);
      status = statusMain;
    }
  }
}