Program: 96745
Project: 96745
Buggy source:
private void addComparison(IProgressMonitor monitor,Appendable appendable,CompareData compareData,boolean merge) throws IOException {
  boolean first=true;
  double workAmount=0.20 / compareData.entrySet().size();
  monitor.setTaskName("String_Node_Str");
  for (  Entry<String,String> entry : compareData.entrySet()) {
    if (monitor.isCanceled()) {
      throw new OperationCanceledException();
    }
    String propertyWordDiffSleepMs=null;
    try {
      propertyWordDiffSleepMs=OseeInfo.getValue(OSEE_WORD_DIFF_SLEEP_MS);
    }
 catch (    Exception ex) {
      OseeLog.log(Activator.class,Level.INFO,String.format("String_Node_Str",this.getClass().getSimpleName(),propertyWordDiffSleepMs));
    }
    if (!Strings.isValid(propertyWordDiffSleepMs)) {
      propertyWordDiffSleepMs="String_Node_Str";
    }
    if (!propertyWordDiffSleepMs.equals("String_Node_Str")) {
      appendable.append("String_Node_Str" + propertyWordDiffSleepMs + "String_Node_Str");
    }
    appendable.append("String_Node_Str");
    appendable.append(entry.getKey());
    appendable.append("String_Node_Str");
    appendable.append(entry.getValue());
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    boolean mergeFromCompare=compareData.isMerge(entry.getKey());
    if (merge || mergeFromCompare) {
      if (mergeFromCompare) {
        if (first) {
          appendable.append(comparisonCommand);
        }
 else {
          appendable.append(altMergeCommand);
        }
      }
 else {
        appendable.append(String.format(mergeCommand,"String_Node_Str" + compareData.getOutputPath() + "String_Node_Str"));
      }
    }
 else {
      appendable.append(comparisonCommand);
    }
    if (first) {
      appendable.append(comparisonCommandFirst);
      first=false;
    }
 else {
      if (mergeFromCompare) {
        appendable.append(altComparisonCommandOthers);
      }
 else {
        appendable.append(comparisonCommandOthers);
      }
    }
    monitor.worked(Operations.calculateWork(Operations.TASK_WORK_RESOLUTION,workAmount));
  }
}

Fixed version (ground truth):
private void addComparison(IProgressMonitor monitor,Appendable appendable,CompareData compareData,boolean merge) throws IOException {
  boolean first=true;
  double workAmount=0.20 / compareData.entrySet().size();
  monitor.setTaskName("String_Node_Str");
  for (  Entry<String,String> entry : compareData.entrySet()) {
    if (monitor.isCanceled()) {
      throw new OperationCanceledException();
    }
    String propertyWordDiffSleepMs="String_Node_Str";
    try {
      propertyWordDiffSleepMs=OseeInfo.getValue(OSEE_WORD_DIFF_SLEEP_MS,"String_Node_Str");
    }
 catch (    Exception ex) {
      OseeLog.log(Activator.class,Level.INFO,String.format("String_Node_Str",this.getClass().getSimpleName(),propertyWordDiffSleepMs));
    }
    if (!propertyWordDiffSleepMs.equals("String_Node_Str")) {
      appendable.append("String_Node_Str" + propertyWordDiffSleepMs + "String_Node_Str");
    }
    appendable.append("String_Node_Str");
    appendable.append(entry.getKey());
    appendable.append("String_Node_Str");
    appendable.append(entry.getValue());
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    appendable.append("String_Node_Str");
    boolean mergeFromCompare=compareData.isMerge(entry.getKey());
    if (merge || mergeFromCompare) {
      if (mergeFromCompare) {
        if (first) {
          appendable.append(comparisonCommand);
        }
 else {
          appendable.append(altMergeCommand);
        }
      }
 else {
        appendable.append(String.format(mergeCommand,"String_Node_Str" + compareData.getOutputPath() + "String_Node_Str"));
      }
    }
 else {
      appendable.append(comparisonCommand);
    }
    if (first) {
      appendable.append(comparisonCommandFirst);
      first=false;
    }
 else {
      if (mergeFromCompare) {
        appendable.append(altComparisonCommandOthers);
      }
 else {
        appendable.append(comparisonCommandOthers);
      }
    }
    monitor.worked(Operations.calculateWork(Operations.TASK_WORK_RESOLUTION,workAmount));
  }
}