Program: 33438
Project: 33438
Buggy source:
public synchronized void fixRestApiZipPlugin(Path p) throws RestApiFixFailureExeception {
  try {
    if (doesRestApiZipFileContainJaxJars(p.toFile(),filenames)) {
      Loggers.SERVER.debug("String_Node_Str" + p.toFile().getAbsolutePath());
      deleteFilesFromRestApiZipFile(p.toFile(),filenames);
      if (doesRestApiZipFileContainJaxJars(p.toFile(),filenames)) {
        Loggers.SERVER.warn("String_Node_Str" + p.toFile().getAbsolutePath());
      }
 else {
        Loggers.SERVER.info("String_Node_Str" + p.toFile().getAbsolutePath());
        Loggers.SERVER.info("String_Node_Str");
        this.haveFilesBeenCleanedSinceBoot=true;
      }
    }
 else {
      Loggers.SERVER.debug("String_Node_Str" + p.toFile().getAbsolutePath());
    }
    String restApiUnpackedDir=p.toFile().getParent() + unpackedLocation;
    Loggers.SERVER.debug("String_Node_Str" + restApiUnpackedDir);
    if (doFilesExistInPluginsUnpackedDir(p.toFile().getParent(),filenames)) {
      Loggers.SERVER.debug("String_Node_Str" + restApiUnpackedDir);
      deleteFilesFromPluginsUnpackedDir(p.toFile().getParent(),filenames);
      if (doFilesExistInPluginsUnpackedDir(p.toFile().getParent(),filenames)) {
        Loggers.SERVER.warn("String_Node_Str" + restApiUnpackedDir);
      }
 else {
        Loggers.SERVER.info("String_Node_Str" + restApiUnpackedDir);
        Loggers.SERVER.info("String_Node_Str");
        this.haveFilesBeenCleanedSinceBoot=true;
      }
    }
 else {
      Loggers.SERVER.debug("String_Node_Str" + restApiUnpackedDir);
    }
  }
 catch (  IOException e) {
    Loggers.SERVER.warnAndDebugDetails("String_Node_Str",e);
    throw new RestApiFixFailureExeception(e);
  }
}

Fixed version (ground truth):
public synchronized JarReport fixRestApiZipPlugin(Path p){
  try {
    if (doesRestApiZipFileContainJaxJars(p.toFile(),filenames,jarReports.get(p))) {
      Loggers.SERVER.debug("String_Node_Str" + p.toFile().getAbsolutePath());
      deleteFilesFromRestApiZipFile(p.toFile(),filenames,jarReports.get(p));
      if (doesRestApiZipFileContainJaxJars(p.toFile(),filenames,jarReports.get(p))) {
        Loggers.SERVER.warn("String_Node_Str" + p.toFile().getAbsolutePath());
      }
 else {
        Loggers.SERVER.info("String_Node_Str" + p.toFile().getAbsolutePath());
        Loggers.SERVER.info("String_Node_Str");
        this.haveFilesBeenCleanedSinceBoot=true;
      }
    }
 else {
      Loggers.SERVER.debug("String_Node_Str" + p.toFile().getAbsolutePath());
    }
    String restApiUnpackedDir=p.toFile().getParent() + unpackedLocation;
    Loggers.SERVER.debug("String_Node_Str" + restApiUnpackedDir);
    if (doFilesExistInPluginsUnpackedDir(p.toFile().getParent(),filenames,jarReports.get(p))) {
      Loggers.SERVER.debug("String_Node_Str" + restApiUnpackedDir);
      deleteFilesFromPluginsUnpackedDir(p.toFile().getParent(),filenames,jarReports.get(p));
      if (doFilesExistInPluginsUnpackedDir(p.toFile().getParent(),filenames,jarReports.get(p))) {
        Loggers.SERVER.warn("String_Node_Str" + restApiUnpackedDir);
      }
 else {
        Loggers.SERVER.info("String_Node_Str" + restApiUnpackedDir);
        Loggers.SERVER.info("String_Node_Str");
        this.haveFilesBeenCleanedSinceBoot=true;
      }
    }
 else {
      Loggers.SERVER.debug("String_Node_Str" + restApiUnpackedDir);
    }
  }
 catch (  IOException e) {
    Loggers.SERVER.warnAndDebugDetails("String_Node_Str",e);
  }
  return jarReports.get(p);
}