nus-yam/ex-repair huggingface dataset:
Program: 39515
Project: 39515
Buggy source:
public Paragraph createLeavesContainer(){
  if (collapseSpaces) {
    waitingLeaves=TrimUtil.trimLeafElementsAndSanitize(waitingLeaves);
  }
  if (CssConstants.CAPITALIZE.equals(textTransform)) {
    capitalize(waitingLeaves);
  }
  if (waitingLeaves.size() > 0) {
    Paragraph p=createParagraphContainer();
    for (    ILeafElement leaf : waitingLeaves) {
      p.add(leaf);
    }
    return p;
  }
 else {
    return null;
  }
}

Fixed version (ground truth):
public Paragraph createLeavesContainer(){
  if (collapseSpaces) {
    waitingLeaves=TrimUtil.trimLeafElementsAndSanitize(waitingLeaves);
  }
  if (CssConstants.CAPITALIZE.equals(textTransform)) {
    capitalize(waitingLeaves);
  }
  if (waitingLeaves.size() > 0) {
    Paragraph p=createParagraphContainer();
    for (    ILeafElement leaf : waitingLeaves) {
      p.add(leaf);
    }
    if (p.getChildren().size() == 1 && p.getChildren().get(0) instanceof Image) {
      p.setMultipliedLeading(1);
    }
    return p;
  }
 else {
    return null;
  }
}
Program: 39516
Project: 39516
Buggy source:
public static List<ILeafElement> trimLeafElementsFirstAndSanitize(List<ILeafElement> leafElements){
  List<ILeafElement> waitingLeafs=new ArrayList<>(leafElements);
  while (waitingLeafs.size() > 0 && waitingLeafs.get(0) instanceof Text) {
    Text text=(Text)waitingLeafs.get(0);
    trimLeafElementFirst(text);
    if (text.getText().length() == 0) {
      waitingLeafs.remove(0);
    }
 else {
      break;
    }
  }
  int pos=0;
  while (pos < waitingLeafs.size() - 1) {
    if (waitingLeafs.get(pos) instanceof Text) {
      Text first=(Text)waitingLeafs.get(pos);
      if (first.getText().length() > 0 && isNonLineBreakSpace(first.getText().charAt(first.getText().length() - 1))) {
        while (pos + 1 < waitingLeafs.size() && waitingLeafs.get(pos + 1) instanceof Text) {
          Text second=(Text)waitingLeafs.get(pos + 1);
          if (second.getText().length() > 0 && isNonLineBreakSpace(second.getText().charAt(0))) {
            int secondPos=0;
            while (secondPos < second.getText().length() && isNonLineBreakSpace(second.getText().charAt(secondPos))) {
              secondPos++;
            }
            second.setText(second.getText().substring(secondPos));
          }
          if (second.getText().length() == 0) {
            waitingLeafs.remove(pos + 1);
          }
 else {
            break;
          }
        }
      }
    }
    pos++;
  }
  return waitingLeafs;
}

Fixed version (ground truth):
public static List<ILeafElement> trimLeafElementsFirstAndSanitize(List<ILeafElement> leafElements){
  ArrayList<ILeafElement> waitingLeafs=new ArrayList<ILeafElement>(leafElements);
  trimSubList(waitingLeafs,0,waitingLeafs.size(),false);
  int pos=0;
  while (pos < waitingLeafs.size() - 1) {
    if (waitingLeafs.get(pos) instanceof Text) {
      Text first=(Text)waitingLeafs.get(pos);
      if (first.getText().length() > 0 && isNonLineBreakSpace(first.getText().charAt(first.getText().length() - 1))) {
        trimSubList(waitingLeafs,pos + 1,waitingLeafs.size(),false);
      }
    }
    pos++;
  }
  return waitingLeafs;
}
Program: 39518
Project: 39518
Buggy source:
public List<CssDeclaration> getCssDeclarations(IElement element,MediaDeviceDescription deviceDescription){
  List<CssRuleSet> ruleSets=getCssRuleSets(element,deviceDescription);
  Map<String,CssDeclaration> declarations=new HashMap<>();
  Collections.sort(ruleSets,new CssRuleSetComparator());
  for (  CssRuleSet ruleSet : ruleSets) {
    populateDeclarationsMap(ruleSet.getNormalDeclarations(),declarations);
  }
  for (  CssRuleSet ruleSet : ruleSets) {
    populateDeclarationsMap(ruleSet.getImportantDeclarations(),declarations);
  }
  return new ArrayList<>(declarations.values());
}

Fixed version (ground truth):
public List<CssDeclaration> getCssDeclarations(IElement element,MediaDeviceDescription deviceDescription){
  List<CssRuleSet> ruleSets=getCssRuleSets(element,deviceDescription);
  Map<String,CssDeclaration> declarations=new LinkedHashMap<>();
  Collections.sort(ruleSets,new CssRuleSetComparator());
  for (  CssRuleSet ruleSet : ruleSets) {
    populateDeclarationsMap(ruleSet.getNormalDeclarations(),declarations);
  }
  for (  CssRuleSet ruleSet : ruleSets) {
    populateDeclarationsMap(ruleSet.getImportantDeclarations(),declarations);
  }
  return new ArrayList<>(declarations.values());
}
Program: 39519
Project: 39519
Buggy source:
public void setOrientation(String orientation){
  this.orientation=orientation;
}

Fixed version (ground truth):
public MediaDeviceDescription setOrientation(String orientation){
  this.orientation=orientation;
  return this;
}
Program: 39520
Project: 39520
Buggy source:
public void setGrid(boolean grid){
  isGrid=grid;
}

Fixed version (ground truth):
public MediaDeviceDescription setGrid(boolean grid){
  isGrid=grid;
  return this;
}
Program: 39521
Project: 39521
Buggy source:
public int getWidth(){
  return width;
}

Fixed version (ground truth):
public float getWidth(){
  return width;
}
Program: 39522
Project: 39522
Buggy source:
public void setWidth(int width){
  this.width=width;
}

Fixed version (ground truth):
public MediaDeviceDescription setWidth(int width){
  this.width=width;
  return this;
}
Program: 39523
Project: 39523
Buggy source:
public void setHeight(int height){
  this.height=height;
}

Fixed version (ground truth):
public MediaDeviceDescription setHeight(int height){
  this.height=height;
  return this;
}
Program: 39524
Project: 39524
Buggy source:
public void setScan(String scan){
  this.scan=scan;
}

Fixed version (ground truth):
public MediaDeviceDescription setScan(String scan){
  this.scan=scan;
  return this;
}
Program: 39525
Project: 39525
Buggy source:
public void setBitsPerComponent(int bitsPerComponent){
  this.bitsPerComponent=bitsPerComponent;
}

Fixed version (ground truth):
public MediaDeviceDescription setBitsPerComponent(int bitsPerComponent){
  this.bitsPerComponent=bitsPerComponent;
  return this;
}
Program: 39526
Project: 39526
Buggy source:
public int getHeight(){
  return height;
}

Fixed version (ground truth):
public float getHeight(){
  return height;
}
Program: 39527
Project: 39527
Buggy source:
public void setMonochrome(int monochrome){
  this.monochrome=monochrome;
}

Fixed version (ground truth):
public MediaDeviceDescription setMonochrome(int monochrome){
  this.monochrome=monochrome;
  return this;
}
Program: 39528
Project: 39528
Buggy source:
public void setColorIndex(int colorIndex){
  this.colorIndex=colorIndex;
}

Fixed version (ground truth):
public MediaDeviceDescription setColorIndex(int colorIndex){
  this.colorIndex=colorIndex;
  return this;
}
Program: 39529
Project: 39529
Buggy source:
public MediaDeviceDescription(String type){
  this.type=type;
}

Fixed version (ground truth):
public MediaDeviceDescription(String type,float width,float height){
  this(type);
  this.width=width;
  this.height=height;
}
Program: 39530
Project: 39530
Buggy source:
public MediaExpression(String feature,String value){
  this.feature=feature.trim().toLowerCase();
  if (value != null) {
    this.value=value.trim().toLowerCase();
  }
  String minPref=MediaRuleConstants.MIN + "String_Node_Str";
  String maxPref=MediaRuleConstants.MAX + "String_Node_Str";
  minPrefix=feature.startsWith(minPref);
  if (minPrefix) {
    feature=feature.substring(minPref.length());
  }
  maxPrefix=feature.startsWith(maxPref);
  if (maxPrefix) {
    feature=feature.substring(maxPref.length());
  }
}

Fixed version (ground truth):
public MediaExpression(String feature,String value){
  this.feature=feature.trim().toLowerCase();
  if (value != null) {
    this.value=value.trim().toLowerCase();
  }
  String minPref=MediaRuleConstants.MIN + "String_Node_Str";
  String maxPref=MediaRuleConstants.MAX + "String_Node_Str";
  minPrefix=feature.startsWith(minPref);
  if (minPrefix) {
    this.feature=feature.substring(minPref.length());
  }
  maxPrefix=feature.startsWith(maxPref);
  if (maxPrefix) {
    this.feature=feature.substring(maxPref.length());
  }
}
Program: 39532
Project: 39532
Buggy source:
private static MediaExpression parseMediaExpression(String mediaExpressionStr){
  mediaExpressionStr=mediaExpressionStr.trim();
  if (mediaExpressionStr.length() == 0) {
    return null;
  }
  int colonPos=mediaExpressionStr.indexOf(':');
  String mediaFeature;
  String value=null;
  if (colonPos == -1) {
    mediaFeature=mediaExpressionStr;
  }
 else {
    mediaFeature=mediaExpressionStr.substring(0,colonPos).trim();
    value=mediaExpressionStr.substring(colonPos).trim();
  }
  return new MediaExpression(mediaFeature,value);
}

Fixed version (ground truth):
private static MediaExpression parseMediaExpression(String mediaExpressionStr){
  mediaExpressionStr=mediaExpressionStr.trim();
  if (!mediaExpressionStr.startsWith("String_Node_Str") || !mediaExpressionStr.endsWith("String_Node_Str")) {
    return null;
  }
  mediaExpressionStr=mediaExpressionStr.substring(1,mediaExpressionStr.length() - 1);
  if (mediaExpressionStr.length() == 0) {
    return null;
  }
  int colonPos=mediaExpressionStr.indexOf(':');
  String mediaFeature;
  String value=null;
  if (colonPos == -1) {
    mediaFeature=mediaExpressionStr;
  }
 else {
    mediaFeature=mediaExpressionStr.substring(0,colonPos).trim();
    value=mediaExpressionStr.substring(colonPos + 1).trim();
  }
  return new MediaExpression(mediaFeature,value);
}
Program: 39533
Project: 39533
Buggy source:
public CssTagSelectorItem(String tagName){
  this.tagName=tagName;
  this.isUniversal="String_Node_Str".equals(tagName);
}

Fixed version (ground truth):
public CssTagSelectorItem(String tagName){
  this.tagName=tagName.toLowerCase();
  this.isUniversal="String_Node_Str".equals(tagName);
}
Program: 39534
Project: 39534
Buggy source:
private Element appendContext(Element root){
  context=root.addElement("String_Node_Str");
  context.addAttribute("String_Node_Str",MybatisXmlParser.CONTEXT_ID);
  context.addAttribute("String_Node_Str",MybatisXmlParser.TARGET_RUNTIME);
  return context;
}

Fixed version (ground truth):
private Element appendContext(Element root){
  context=root.addElement("String_Node_Str");
  context.addAttribute("String_Node_Str",MybatisConfigReader.DEFAULT_CONTEXT_ID);
  context.addAttribute("String_Node_Str",MybatisConfigReader.TARGET_RUNTIME);
  return context;
}
Program: 39535
Project: 39535
Buggy source:
private void readPomFile(){
  InputStream inputStream=null;
  try {
    inputStream=folder.openFile("String_Node_Str");
    pomXmlParser=new PomXmlParser(inputStream);
  }
 catch (  Exception e) {
    throw new InvalidConfigurationException(e);
  }
 finally {
    FolderUtil.closeStream(inputStream);
  }
}

Fixed version (ground truth):
private void readPomFile(){
  try (InputStream inputStream=folder.openFile("String_Node_Str")){
    pomXmlParser=new PomXmlParser(inputStream);
  }
 catch (  Exception e) {
    throw new InvalidConfigurationException(e);
  }
}
Program: 39536
Project: 39536
Buggy source:
private boolean mergeContext(MybatisConfigFileGenerator configFileGenerator){
  if (context == null) {
    root.add(configFileGenerator.getContext().createCopy());
    return false;
  }
  context=root.addElement("String_Node_Str");
  return true;
}

Fixed version (ground truth):
private boolean mergeContext(MybatisConfigFileGenerator configFileGenerator){
  if (context == null) {
    root.add(configFileGenerator.getContext().createCopy());
    return false;
  }
  context=root.addElement("String_Node_Str");
  context.addAttribute("String_Node_Str",MybatisConfigReader.DEFAULT_CONTEXT_ID);
  context.addAttribute("String_Node_Str",MybatisConfigReader.TARGET_RUNTIME);
  return true;
}
Program: 39537
Project: 39537
Buggy source:
public void writeJavaFiles(){
  String modelPackage=project.getModelLayerPath();
  String patternStr="String_Node_Str" + (modelPackage == null ? "String_Node_Str" : modelPackage) + "String_Node_Str";
  Pattern pattern=modelPackage == null ? null : Pattern.compile(patternStr);
  List<GeneratedJavaFile> list=mybatisRunner.getGeneratedJavaFiles();
  for (  GeneratedJavaFile javaFile : list) {
    String dir=javaFile.getTargetProject().replace(project.getFullPath() + "String_Node_Str","String_Node_Str") + "String_Node_Str" + javaFile.getTargetPackage();
    String filePath=dir + "String_Node_Str" + javaFile.getFileName();
    String content=javaFile.getFormattedContent();
    if (javaFile.getFileName().endsWith("String_Node_Str")) {
      project.createDir(dir + "String_Node_Str");
      filePath=dir + "String_Node_Str" + javaFile.getFileName();
      content=content.replace("String_Node_Str" + javaFile.getTargetPackage(),"String_Node_Str" + javaFile.getTargetPackage() + "String_Node_Str");
    }
 else     if (javaFile.getFileName().endsWith("String_Node_Str") && pattern != null) {
      Matcher matcher=pattern.matcher(content);
      if (matcher.find()) {
        String name=matcher.group(1);
        content=content.replaceAll(patternStr,"String_Node_Str" + modelPackage + "String_Node_Str"+ name+ "String_Node_Str");
      }
    }
    project.writeFile(filePath,content);
  }
}

Fixed version (ground truth):
public void writeJavaFiles(){
  String modelPath=project.getModelLayerPath();
  String patternStr="String_Node_Str" + (modelPath == null ? "String_Node_Str" : pathToPackage(modelPath)) + "String_Node_Str";
  Pattern pattern=modelPath == null ? null : Pattern.compile(patternStr);
  List<GeneratedJavaFile> list=mybatisRunner.getGeneratedJavaFiles();
  for (  GeneratedJavaFile javaFile : list) {
    String dir=javaFile.getTargetProject().replace(project.getFullPath(),"String_Node_Str") + packageToPath(javaFile.getTargetPackage());
    String filePath=dir + "String_Node_Str" + javaFile.getFileName();
    String content=javaFile.getFormattedContent();
    if (javaFile.getFileName().endsWith("String_Node_Str")) {
      project.createDir(dir + "String_Node_Str");
      filePath=dir + "String_Node_Str" + javaFile.getFileName();
      content=content.replace("String_Node_Str" + javaFile.getTargetPackage(),"String_Node_Str" + javaFile.getTargetPackage() + "String_Node_Str");
    }
 else     if (javaFile.getFileName().endsWith("String_Node_Str") && pattern != null) {
      Matcher matcher=pattern.matcher(content);
      if (matcher.find()) {
        String name=matcher.group(1);
        content=content.replaceAll(patternStr,"String_Node_Str" + pathToPackage(modelPath) + "String_Node_Str"+ name+ "String_Node_Str");
      }
    }
    project.writeFile(filePath,content);
  }
}
Program: 39538
Project: 39538
Buggy source:
private void appendJavaClientGenerator(Element context){
  Element generator=context.addElement("String_Node_Str");
  generator.addAttribute("String_Node_Str","String_Node_Str");
  String path=project.getDaoLayerPath();
  generator.addAttribute("String_Node_Str",path == null ? "String_Node_Str" : path);
  path=project.getSourceCodeDirPath();
  generator.addAttribute("String_Node_Str",path == null ? "String_Node_Str" : path);
}

Fixed version (ground truth):
private void appendJavaClientGenerator(Element context){
  Element generator=context.addElement("String_Node_Str");
  generator.addAttribute("String_Node_Str","String_Node_Str");
  String path=project.getDaoLayerPath();
  generator.addAttribute("String_Node_Str",path == null ? "String_Node_Str" : pathToPackage(path));
  path=project.getSourceCodeDirPath();
  generator.addAttribute("String_Node_Str",path == null ? "String_Node_Str" : path);
}
Program: 39539
Project: 39539
Buggy source:
private void appendJavaModelGenerator(Element context){
  Element javaModelGenerator=factory.createElement("String_Node_Str");
  String path=project.getModelLayerPath();
  javaModelGenerator.addAttribute("String_Node_Str",path == null ? "String_Node_Str" : path);
  path=project.getSourceCodeDirPath();
  javaModelGenerator.addAttribute("String_Node_Str",path == null ? "String_Node_Str" : path);
  context.add(javaModelGenerator);
}

Fixed version (ground truth):
private void appendJavaModelGenerator(Element context){
  Element javaModelGenerator=factory.createElement("String_Node_Str");
  String path=project.getModelLayerPath();
  javaModelGenerator.addAttribute("String_Node_Str",path == null ? "String_Node_Str" : pathToPackage(path));
  path=project.getSourceCodeDirPath();
  javaModelGenerator.addAttribute("String_Node_Str",path == null ? "String_Node_Str" : path);
  context.add(javaModelGenerator);
}
Program: 39540
Project: 39540
Buggy source:
public BasicXmlParser(InputStream inputStream,String rootElmentTag) throws DocumentException, IOException {
  Expect.asTrue(inputStream != null && inputStream.available() <= MAX_STREAM_SIZE && inputStream.available() > 0,"String_Node_Str");
  Expect.notNull(rootElmentTag,"String_Node_Str");
  SAXReader saxReader=new SAXReader();
  document=saxReader.read(inputStream);
  if (document == null || document.getRootElement() == null || !rootElmentTag.equals(document.getRootElement().getName())) {
    throw new DocumentException("String_Node_Str");
  }
}

Fixed version (ground truth):
public BasicXmlParser(InputStream inputStream,String rootElmentTag) throws DocumentException, IOException {
  Expect.asTrue(inputStream != null && inputStream.available() <= MAX_STREAM_SIZE && inputStream.available() > 0,"String_Node_Str");
  Expect.notNull(rootElmentTag,"String_Node_Str");
  SAXReader saxReader=new SAXReader();
  saxReader.setValidation(false);
  document=saxReader.read(new BufferedInputStream(inputStream));
  if (document == null || document.getRootElement() == null || !rootElmentTag.equals(document.getRootElement().getName())) {
    throw new DocumentException("String_Node_Str");
  }
}
Program: 39541
Project: 39541
Buggy source:
private String convertImportPathToFilesystemPath(String path){
  String[] tokens=path.split("String_Node_Str");
  if (tokens.length != 2) {
    throw new UnsupportedProjectException("String_Node_Str");
  }
  List<Folder> folders=findFoldersContainingFile(tokens[1]);
  if (folders.size() != 1) {
    throw new UnsupportedProjectException("String_Node_Str");
  }
  Folder folder=folders.get(0);
  return project.convertToFullPath(folder.path() + "String_Node_Str" + tokens[1]);
}

Fixed version (ground truth):
private String convertImportPathToFilesystemPath(String path){
  String[] tokens=path.split("String_Node_Str");
  if (tokens.length != 2) {
    throw new UnsupportedProjectException("String_Node_Str" + path);
  }
  List<Folder> folders=findFoldersContainingFile(tokens[1]);
  if (folders.size() != 1) {
    throw new UnsupportedProjectException("String_Node_Str" + path);
  }
  Folder folder=folders.get(0);
  String filename=tokens[1];
  if (filename.indexOf("String_Node_Str") != -1) {
    String folderPath=tokens[1].replaceFirst("String_Node_Str","String_Node_Str");
    filename=tokens[1].replace(folderPath + "String_Node_Str","String_Node_Str");
  }
  return project.convertToFullPath(folder.path() + "String_Node_Str" + filename);
}
Program: 39542
Project: 39542
Buggy source:
private List<Folder> findFoldersContainingFile(final String filename){
  return project.findFolders(new FolderSelector(){
    @Override public boolean isSelected(    Folder folder){
      return folder.containsFile(filename);
    }
  }
);
}

Fixed version (ground truth):
private List<Folder> findFoldersContainingFile(final String path){
  return project.findFolders(new FolderSelector(){
    @Override public boolean isSelected(    Folder folder){
      if (path.indexOf("String_Node_Str") == -1) {
        return folder.containsFile(path);
      }
      String folderPath=path.replaceFirst("String_Node_Str","String_Node_Str");
      String filename=path.replace(folderPath + "String_Node_Str","String_Node_Str");
      return folder.path().indexOf(folderPath) != -1 && folder.containsFile(filename);
    }
  }
);
}
Program: 39543
Project: 39543
Buggy source:
@Override public boolean isSelected(Folder folder){
  return folder.containsFile(filename);
}

Fixed version (ground truth):
@Override public boolean isSelected(Folder folder){
  if (path.indexOf("String_Node_Str") == -1) {
    return folder.containsFile(path);
  }
  String folderPath=path.replaceFirst("String_Node_Str","String_Node_Str");
  String filename=path.replace(folderPath + "String_Node_Str","String_Node_Str");
  return folder.path().indexOf(folderPath) != -1 && folder.containsFile(filename);
}
Program: 39545
Project: 39545
Buggy source:
private void appendJavaClientGenerator(Element context){
  List<String> paths=project.getSyspathsOfDao();
  if (paths.isEmpty()) {
    errorCode=ErrorCode.NO_DAO_PATH;
    paths.add(project.getFullPath());
  }
 else   if (paths.size() > 1) {
    errorCode=ErrorCode.MULTIPLE_MODEL_PATHS;
  }
  for (  String path : paths) {
    String packageName=project.getPackageName(path);
    Element generator=context.addElement("String_Node_Str");
    generator.addAttribute("String_Node_Str","String_Node_Str");
    generator.addAttribute("String_Node_Str",packageName == null ? "String_Node_Str" : packageName);
    generator.addAttribute("String_Node_Str",path);
    javaClientGenerators.add(generator);
  }
}

Fixed version (ground truth):
private void appendJavaClientGenerator(Element context){
  List<String> paths=project.getSyspathsOfDao();
  if (paths.isEmpty()) {
    errorCode=ErrorCode.NO_DAO_PATH;
    paths.add(project.getFullPath());
  }
 else   if (paths.size() > 1) {
    errorCode=ErrorCode.MULTIPLE_MODEL_PATHS;
  }
  for (  String path : paths) {
    String packageName=getPackageName(path);
    Element generator=context.addElement("String_Node_Str");
    generator.addAttribute("String_Node_Str","String_Node_Str");
    generator.addAttribute("String_Node_Str",packageName == null ? "String_Node_Str" : packageName);
    generator.addAttribute("String_Node_Str",eliminatePackagePath(path));
    javaClientGenerators.add(generator);
  }
}
Program: 39546
Project: 39546
Buggy source:
private void appendJavaModelGenerator(Element context){
  List<String> paths=project.getSyspathsOfModel();
  if (paths.isEmpty()) {
    errorCode=ErrorCode.NO_MODEL_PATH;
    paths.add(project.getFullPath());
  }
 else   if (paths.size() > 1) {
    errorCode=ErrorCode.MULTIPLE_MODEL_PATHS;
  }
  for (  String path : paths) {
    String packageName=project.getPackageName(path);
    Element javaModelGenerator=context.addElement("String_Node_Str");
    javaModelGenerator.addAttribute("String_Node_Str",packageName == null ? "String_Node_Str" : packageName);
    javaModelGenerator.addAttribute("String_Node_Str",path);
    javaModelGenerators.add(javaModelGenerator);
  }
}

Fixed version (ground truth):
private void appendJavaModelGenerator(Element context){
  List<String> paths=project.getSyspathsOfModel();
  if (paths.isEmpty()) {
    errorCode=ErrorCode.NO_MODEL_PATH;
    paths.add(project.getFullPath());
  }
 else   if (paths.size() > 1) {
    errorCode=ErrorCode.MULTIPLE_MODEL_PATHS;
  }
  for (  String path : paths) {
    String packageName=getPackageName(path);
    Element javaModelGenerator=context.addElement("String_Node_Str");
    javaModelGenerator.addAttribute("String_Node_Str",packageName == null ? "String_Node_Str" : packageName);
    javaModelGenerator.addAttribute("String_Node_Str",eliminatePackagePath(path));
    javaModelGenerators.add(javaModelGenerator);
  }
}
Program: 39547
Project: 39547
Buggy source:
/** 
 * List full paths of possible resources which are close to the dao layer. By 'close to', it means the ones that are contained by the same submodule containing 'dao'.
 * @return full paths
 */
public List<String> getSyspathsOfResources(){
  List<String> paths=getSyspathsOfDao();
  List<String> result=new LinkedList<String>();
  for (  String path : paths) {
    String tmp=path.replaceFirst(MAVEN_RESOURCES_PATH + "String_Node_Str",MAVEN_RESOURCES_PATH);
    result.add(tmp);
  }
  return result;
}

Fixed version (ground truth):
/** 
 * List full paths of possible resources which are close to the dao layer. By 'close to', it means the ones that are contained by the same submodule containing 'dao'.
 * @return full paths
 */
public List<String> getSyspathsOfResources(){
  List<String> paths=getSyspathsOfDao();
  List<String> result=new LinkedList<String>();
  for (  String path : paths) {
    String tmp=path.replaceFirst(MAVEN_SOURCE_CODE_PATH + "String_Node_Str",MAVEN_RESOURCES_PATH);
    result.add(tmp);
  }
  return result;
}
Program: 39548
Project: 39548
Buggy source:
/** 
 * Under some circumstances, we might find multiple dao/domain layers, so it's necessary to merge generated elements. If this existed config file does not have the element in the new one, a copy is issued.
 * @param configFileGenerator
 * @return the merged config file in string.
 */
public String mergeGeneratedConfigAndGetXmlString(MybatisConfigFileGenerator configFileGenerator){
  try {
    appendClasspathEntry(configFileGenerator);
    if (appendContextAndTestIfContinueAppending(configFileGenerator)) {
      appendJavaTypeResolver(configFileGenerator);
      appendJavaModelGenerators(configFileGenerator);
      appendSqlMapGenerators(configFileGenerator);
      appendJavaClientGenerators(configFileGenerator);
      appendTables(configFileGenerator);
    }
    return toXmlString();
  }
 catch (  IOException e) {
    throw new ProjectException("String_Node_Str");
  }
}

Fixed version (ground truth):
/** 
 * Under some circumstances, we might find multiple dao/domain layers, so it's necessary to merge generated elements. If this existed config file does not have the element in the new one, a copy is issued.
 * @param configFileGenerator
 * @return the merged config file in string.
 */
public String mergeGeneratedConfigAndGetXmlString(MybatisConfigFileGenerator configFileGenerator){
  try {
    appendClasspathEntry(configFileGenerator);
    if (appendContextAndTestIfContinueAppending(configFileGenerator)) {
      appendJdbcConnection(configFileGenerator);
      appendJavaTypeResolver(configFileGenerator);
      appendJavaModelGenerators(configFileGenerator);
      appendSqlMapGenerators(configFileGenerator);
      appendJavaClientGenerators(configFileGenerator);
      appendTables(configFileGenerator);
    }
    return toXmlString();
  }
 catch (  IOException e) {
    throw new ProjectException("String_Node_Str");
  }
}
Program: 39549
Project: 39549
Buggy source:
private void appendTables(MybatisConfigFileGenerator configFileGenerator){
  Set<Element> newTables=configFileGenerator.getTableElements();
  for (  Element table : newTables) {
    if (isTableCommented(table)) {
      continue;
    }
    if (!hasTable(table)) {
      tables.add(table.createCopy());
    }
  }
  for (  Node e : tables) {
    context.add(e);
  }
}

Fixed version (ground truth):
private void appendTables(MybatisConfigFileGenerator configFileGenerator){
  Set<Element> newTables=configFileGenerator.getTableElements();
  if (newTables != null && !newTables.isEmpty()) {
    for (    Element table : newTables) {
      if (isTableCommented(table)) {
        continue;
      }
      if (!hasTable(table)) {
        tables.add(table.createCopy());
      }
    }
  }
  for (  Node e : tables) {
    context.add(e);
  }
}
Program: 39551
Project: 39551
Buggy source:
@Override public void setVerboseMode(boolean verboseMode){
  this.verboseMode=verboseMode;
  if (verboseMode) {
    PatternLayoutEncoder patternLayoutEncoder=new PatternLayoutEncoder();
    patternLayoutEncoder.setPattern("String_Node_Str");
    patternLayoutEncoder.setContext(loggerContext);
    patternLayoutEncoder.start();
    Appender<ILoggingEvent> consoleAppender=new ConsoleAppender();
    ((OutputStreamAppender)consoleAppender).setEncoder(patternLayoutEncoder);
    consoleAppender.setContext(loggerContext);
    consoleAppender.start();
    loggerContext.getLogger("String_Node_Str").detachAppender("String_Node_Str");
    loggerContext.getLogger("String_Node_Str").addAppender(consoleAppender);
  }
 else {
  }
}

Fixed version (ground truth):
@Override public void setVerboseMode(boolean verboseMode){
  this.verboseMode=verboseMode;
  if (verboseMode) {
    PatternLayoutEncoder patternLayoutEncoder=new PatternLayoutEncoder();
    patternLayoutEncoder.setPattern("String_Node_Str");
    patternLayoutEncoder.setContext(loggerContext);
    patternLayoutEncoder.start();
    Appender<ILoggingEvent> consoleAppender=new ConsoleAppender();
    ((OutputStreamAppender)consoleAppender).setEncoder(patternLayoutEncoder);
    consoleAppender.setContext(loggerContext);
    consoleAppender.start();
    loggerContext.getLogger("String_Node_Str").detachAppender("String_Node_Str");
    loggerContext.getLogger("String_Node_Str").addAppender(consoleAppender);
  }
}
Program: 39553
Project: 39553
Buggy source:
@Test public void readErrorFailTest() throws IOException, XmlPullParserException, CloneNotSupportedException {
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion("String_Node_Str").relative("String_Node_Str");
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.ERROR);
  Assert.assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  Assert.assertEquals(executionResult.getException().getClass(),TransformationOperationException.class);
  Assert.assertEquals(executionResult.getException().getMessage(),"String_Node_Str");
  assertNotChangedFile("String_Node_Str");
  executionResult=pomChangeParentVersion.clone().failIfNotPresent().execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.ERROR);
  assertNotChangedFile("String_Node_Str");
}

Fixed version (ground truth):
@Test public void readErrorFailTest() throws IOException, XmlPullParserException, CloneNotSupportedException {
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion("String_Node_Str").relative("String_Node_Str");
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.ERROR);
  assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  assertEquals(executionResult.getException().getClass(),TransformationOperationException.class);
  assertEquals(executionResult.getException().getMessage(),"String_Node_Str");
  assertNotChangedFile("String_Node_Str");
  executionResult=pomChangeParentVersion.clone().failIfNotPresent().execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.ERROR);
  assertNotChangedFile("String_Node_Str");
}
Program: 39554
Project: 39554
Buggy source:
@Test public void noOpTest() throws IOException, XmlPullParserException {
  Model pomModelBeforeChange=getOriginalPomModel("String_Node_Str");
  assertNull(pomModelBeforeChange.getParent());
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion("String_Node_Str").relative("String_Node_Str").noOpIfNotPresent();
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.NO_OP);
  Assert.assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  Assert.assertNull(executionResult.getException());
  Model pomModelAfterChange=getTransformedPomModel("String_Node_Str");
  assertNull(pomModelAfterChange.getParent());
  assertNotChangedFile("String_Node_Str");
}

Fixed version (ground truth):
@Test public void noOpTest() throws IOException, XmlPullParserException {
  Model pomModelBeforeChange=getOriginalPomModel("String_Node_Str");
  assertNull(pomModelBeforeChange.getParent());
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion("String_Node_Str").relative("String_Node_Str").noOpIfNotPresent();
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.NO_OP);
  assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  assertNull(executionResult.getException());
  Model pomModelAfterChange=getTransformedPomModel("String_Node_Str");
  assertNull(pomModelAfterChange.getParent());
  assertNotChangedFile("String_Node_Str");
}
Program: 39555
Project: 39555
Buggy source:
@Test public void changeVersionTest() throws IOException, XmlPullParserException {
  Model pomModelBeforeChange=getOriginalPomModel("String_Node_Str");
  assertEquals(pomModelBeforeChange.getParent().getVersion(),"String_Node_Str");
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion("String_Node_Str").relative("String_Node_Str");
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.SUCCESS);
  Assert.assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  Assert.assertNull(executionResult.getException());
  Model pomModelAfterChange=getTransformedPomModel("String_Node_Str");
  assertEquals(pomModelAfterChange.getParent().getVersion(),"String_Node_Str");
}

Fixed version (ground truth):
@Test public void changeVersionTest() throws IOException, XmlPullParserException {
  Model pomModelBeforeChange=getOriginalPomModel("String_Node_Str");
  assertEquals(pomModelBeforeChange.getParent().getVersion(),"String_Node_Str");
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion("String_Node_Str").relative("String_Node_Str");
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.SUCCESS);
  assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  assertNull(executionResult.getException());
  Model pomModelAfterChange=getTransformedPomModel("String_Node_Str");
  assertEquals(pomModelAfterChange.getParent().getVersion(),"String_Node_Str");
}
Program: 39556
Project: 39556
Buggy source:
@Test public void noParentFailTest() throws IOException, XmlPullParserException, CloneNotSupportedException {
  Model pomModelBeforeChange=getOriginalPomModel("String_Node_Str");
  assertNull(pomModelBeforeChange.getParent());
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion("String_Node_Str").relative("String_Node_Str");
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.ERROR);
  Assert.assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  Assert.assertEquals(executionResult.getException().getClass(),TransformationOperationException.class);
  Assert.assertEquals(executionResult.getException().getMessage(),"String_Node_Str");
  Model pomModelAfterChange=getTransformedPomModel("String_Node_Str");
  assertNull(pomModelAfterChange.getParent());
  executionResult=pomChangeParentVersion.clone().failIfNotPresent().execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.ERROR);
  assertNotChangedFile("String_Node_Str");
}

Fixed version (ground truth):
@Test public void noParentFailTest() throws IOException, XmlPullParserException, CloneNotSupportedException {
  Model pomModelBeforeChange=getOriginalPomModel("String_Node_Str");
  assertNull(pomModelBeforeChange.getParent());
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion("String_Node_Str").relative("String_Node_Str");
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.ERROR);
  assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  assertEquals(executionResult.getException().getClass(),TransformationOperationException.class);
  assertEquals(executionResult.getException().getMessage(),"String_Node_Str");
  Model pomModelAfterChange=getTransformedPomModel("String_Node_Str");
  assertNull(pomModelAfterChange.getParent());
  executionResult=pomChangeParentVersion.clone().failIfNotPresent().execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.ERROR);
  assertNotChangedFile("String_Node_Str");
}
Program: 39557
Project: 39557
Buggy source:
@Test public void warnTest() throws IOException, XmlPullParserException {
  Model pomModelBeforeChange=getOriginalPomModel("String_Node_Str");
  assertNull(pomModelBeforeChange.getParent());
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion().relative("String_Node_Str").warnIfNotPresent();
  pomChangeParentVersion.setVersion("String_Node_Str");
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.WARNING);
  Assert.assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  Assert.assertNull(executionResult.getException());
  Assert.assertEquals(executionResult.getWarnings().size(),1);
  Assert.assertEquals(executionResult.getWarnings().get(0).getClass(),TransformationOperationException.class);
  Assert.assertEquals(executionResult.getWarnings().get(0).getMessage(),"String_Node_Str");
  Model pomModelAfterChange=getTransformedPomModel("String_Node_Str");
  assertNull(pomModelAfterChange.getParent());
  assertNotChangedFile("String_Node_Str");
}

Fixed version (ground truth):
@Test public void warnTest() throws IOException, XmlPullParserException {
  Model pomModelBeforeChange=getOriginalPomModel("String_Node_Str");
  assertNull(pomModelBeforeChange.getParent());
  PomChangeParentVersion pomChangeParentVersion=new PomChangeParentVersion().relative("String_Node_Str").warnIfNotPresent();
  pomChangeParentVersion.setVersion("String_Node_Str");
  assertEquals(pomChangeParentVersion.getVersion(),"String_Node_Str");
  TOExecutionResult executionResult=pomChangeParentVersion.execution(transformedAppFolder,transformationContext);
  assertEquals(executionResult.getType(),TOExecutionResult.Type.WARNING);
  assertEquals(pomChangeParentVersion.getDescription(),"String_Node_Str");
  assertNull(executionResult.getException());
  assertEquals(executionResult.getWarnings().size(),1);
  assertEquals(executionResult.getWarnings().get(0).getClass(),TransformationOperationException.class);
  assertEquals(executionResult.getWarnings().get(0).getMessage(),"String_Node_Str");
  Model pomModelAfterChange=getTransformedPomModel("String_Node_Str");
  assertNull(pomModelAfterChange.getParent());
  assertNotChangedFile("String_Node_Str");
}
Program: 39558
Project: 39558
Buggy source:
static String getBanner(){
  return banner;
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") static String getBanner(){
  return banner;
}
Program: 39560
Project: 39560
Buggy source:
LogConfigurator(){
  setLoggerLevel("String_Node_Str",Level.INFO);
}

Fixed version (ground truth):
public LogConfigurator(){
  setLoggerLevel("String_Node_Str",Level.INFO);
}
Program: 39561
Project: 39561
Buggy source:
abstract void setLoggerLevel(Class logger,Level level);

Fixed version (ground truth):
public abstract void setLoggerLevel(Class logger,Level level);
Program: 39562
Project: 39562
Buggy source:
@Override void setLoggerLevel(Class logger,org.slf4j.event.Level level){
  if (level == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  loggerContext.getLogger(logger).setLevel(getLogbackLogLevel(level));
}

Fixed version (ground truth):
@Override public void setLoggerLevel(Class logger,org.slf4j.event.Level level){
  if (level == null) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  loggerContext.getLogger(logger).setLevel(getLogbackLogLevel(level));
}
Program: 39563
Project: 39563
Buggy source:
@Test public void testVerboseOn(){
  Assert.assertNotNull(logbackVerboseConfigurator);
  Assert.assertNotNull(loggerContext);
  logbackVerboseConfigurator.debugMode(true);
  Assert.assertTrue(loggerContext.getLogger("String_Node_Str").getLevel() == ch.qos.logback.classic.Level.DEBUG);
}

Fixed version (ground truth):
@Test public void testVerboseOn(){
  Assert.assertNotNull(logbackVerboseConfigurator);
  Assert.assertNotNull(loggerContext);
  logbackVerboseConfigurator.setDebugMode(true);
  Assert.assertTrue(loggerContext.getLogger("String_Node_Str").getLevel() == ch.qos.logback.classic.Level.DEBUG);
}
Program: 39564
Project: 39564
Buggy source:
@Test public void testVerboseOff(){
  Assert.assertNotNull(logbackVerboseConfigurator);
  Assert.assertNotNull(loggerContext);
  logbackVerboseConfigurator.debugMode(false);
  Assert.assertTrue(loggerContext.getLogger("String_Node_Str").getLevel() == ch.qos.logback.classic.Level.INFO);
}

Fixed version (ground truth):
@Test public void testVerboseOff(){
  Assert.assertNotNull(logbackVerboseConfigurator);
  Assert.assertNotNull(loggerContext);
  logbackVerboseConfigurator.setDebugMode(false);
  Assert.assertTrue(loggerContext.getLogger("String_Node_Str").getLevel() == ch.qos.logback.classic.Level.INFO);
}
Program: 39565
Project: 39565
Buggy source:
TransformationContextImpl getTransformationContext(){
  return transformationContext;
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") TransformationContextImpl getTransformationContext(){
  return transformationContext;
}
Program: 39566
Project: 39566
Buggy source:
final String getAbsoluteFileFromContextAttribute(){
  return absoluteFileFromContextAttribute;
}

Fixed version (ground truth):
private final String getAbsoluteFileFromContextAttribute(){
  return absoluteFileFromContextAttribute;
}
Program: 39567
Project: 39567
Buggy source:
/** 
 * The public default constructor should always be available by any transformation utility because in many cases all of its properties will be set during transformation time, using the transformation context
 */
public TransformationUtility(){
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public TransformationUtility(){
}
Program: 39568
Project: 39568
Buggy source:
public TransformationUtilityGroup(){
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public TransformationUtilityGroup(){
}
Program: 39569
Project: 39569
Buggy source:
public FileExists(){
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public FileExists(){
}
Program: 39570
Project: 39570
Buggy source:
/** 
 * Evaluates this condition against the specified compilation unit and returns the evaluation result, including negating it if   {@link #isNegate()} is true.
 * @param compilationUnit the {@link CompilationUnit} that representsthe Java class to be evaluated
 * @return the evaluation result including negation (if applicable)
 */
final boolean evaluate(CompilationUnit compilationUnit){
  boolean evalResult=eval(compilationUnit);
  return negate ? !evalResult : evalResult;
}

Fixed version (ground truth):
/** 
 * Evaluates this condition against the specified compilation unit and returns the evaluation result, including negating it if   {@link #isNegate()} is true.
 * @param compilationUnit the {@link CompilationUnit} that representsthe Java class to be evaluated
 * @return the evaluation result including negation (if applicable)
 */
@SuppressWarnings("String_Node_Str") final boolean evaluate(CompilationUnit compilationUnit){
  boolean evalResult=eval(compilationUnit);
  return negate ? !evalResult : evalResult;
}
Program: 39571
Project: 39571
Buggy source:
public JavaPackage(){
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public JavaPackage(){
}
Program: 39572
Project: 39572
Buggy source:
public WebXmlContextParams(){
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public WebXmlContextParams(){
}
Program: 39573
Project: 39573
Buggy source:
/** 
 * Deletes a single file or folder (empty or not).
 */
public DeleteFile(){
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") public DeleteFile(){
}
Program: 39574
Project: 39574
Buggy source:
/** 
 * Transform an application based on an upgrade path, and also accept an additional parameter with configuration
 * @param applicationFolder application folder
 * @param upgradePath upgrade path object used to upgrade this application
 * @param configuration Butterfly configuration object
 * @return the transformation result object
 */
TransformationResult transform(File applicationFolder,UpgradePath upgradePath,Configuration configuration) throws ButterflyException ;

Fixed version (ground truth):
/** 
 * Transform an application based on an upgrade path, and also accept an additional parameter with configuration
 * @param applicationFolder application folder
 * @param upgradePath upgrade path object used to upgrade this application
 * @param configuration Butterfly configuration object
 * @return the transformation result object
 * @throws ButterflyException in case the transformation did not succeed
 */
TransformationResult transform(File applicationFolder,UpgradePath upgradePath,Configuration configuration) throws ButterflyException ;
Program: 39575
Project: 39575
Buggy source:
/** 
 * @see {@link #setOutputFolder(File)}
 * @return
 */
public File getOutputFolder(){
  return outputFolder;
}

Fixed version (ground truth):
/** 
 * Return the folder where the transformed application is supposed to be placed
 * @return the folder where the transformed application is supposed to be placed
 */
public File getOutputFolder(){
  return outputFolder;
}
Program: 39576
Project: 39576
Buggy source:
/** 
 * @see {@link Configuration}
 * @see {@link #setOutputFolder(File)}
 * @see {@link #setZipOutput(boolean)}
 * @param outputFolder
 * @param zipOutput
 */
public Configuration(File outputFolder,boolean zipOutput){
  setOutputFolder(outputFolder);
  setZipOutput(zipOutput);
}

Fixed version (ground truth):
/** 
 * Butterfly default configuration
 * @param outputFolder the output folder where the transformed application issupposed to be placed
 * @param zipOutput if true, the transformed application folder will be compressed into a zip file
 */
public Configuration(File outputFolder,boolean zipOutput){
  setOutputFolder(outputFolder);
  setZipOutput(zipOutput);
}
Program: 39577
Project: 39577
Buggy source:
/** 
 * If set to true, the transformed application folder will be compressed to a zip file, and the transformed folder will be removed. The zip file will be named as the transformed application folder, plus the zip extension
 * @param zipOutput
 */
public void setZipOutput(boolean zipOutput){
  this.zipOutput=zipOutput;
}

Fixed version (ground truth):
/** 
 * If set to true, the transformed application folder will be compressed into a zip file, and the transformed folder will be removed. The zip file will be named as the transformed application folder, plus the zip extension
 * @param zipOutput if true, the transformed application folder will be compressed into a zip file
 */
public void setZipOutput(boolean zipOutput){
  this.zipOutput=zipOutput;
}
Program: 39578
Project: 39578
Buggy source:
/** 
 * @see {@link #setZipOutput(boolean)}
 * @return
 */
public boolean isZipOutput(){
  return zipOutput;
}

Fixed version (ground truth):
/** 
 * Returns whether the transformed application folder will be compressed into a zip file or not
 * @return whether the transformed application folder will be compressed into a zip file or not
 */
public boolean isZipOutput(){
  return zipOutput;
}