nus-yam/ex-repair huggingface dataset:
Program: 121047
Project: 121047
Buggy source:
public String getColumnText(Object element,int columnIndex){
  String value=((String)element);
  if (columnIndex == 0) {
    String trim=ARG_DELIMITER.trim();
    if (value.trim().startsWith(trim)) {
      return value;
    }
    return trim + value;
  }
  throw new IllegalStateException();
}

Fixed version (ground truth):
@Override public String getColumnText(Object element,int columnIndex){
  String value=((String)element);
  if (columnIndex == 0) {
    return value;
  }
  throw new IllegalStateException();
}
Program: 121048
Project: 121048
Buggy source:
public void inputChanged(Viewer viewer,Object oldInput,Object newInput){
}

Fixed version (ground truth):
@Override public void inputChanged(Viewer viewer,Object oldInput,Object newInput){
}
Program: 121049
Project: 121049
Buggy source:
public void addListener(ILabelProviderListener listener){
}

Fixed version (ground truth):
@Override public void addListener(ILabelProviderListener listener){
}
Program: 121050
Project: 121050
Buggy source:
/** 
 * Returns this field editor's button box containing the Add, Remove, Up, and Down button.
 * @param parent the parent control
 * @return the button box
 */
public Composite getButtonBoxControl(Composite parent){
  if (buttonBox == null) {
    buttonBox=new Composite(parent,SWT.NULL);
    GridLayout layout=new GridLayout();
    layout.marginWidth=0;
    buttonBox.setLayout(layout);
    GridData layoutData=new GridData();
    layoutData.widthHint=100;
    layoutData.minimumWidth=100;
    buttonBox.setLayoutData(layoutData);
    createButtons(buttonBox);
    buttonBox.addDisposeListener(new DisposeListener(){
      public void widgetDisposed(      DisposeEvent event){
        addButton=null;
        removeButton=null;
        upButton=null;
        downButton=null;
        buttonBox=null;
      }
    }
);
  }
  selectionChanged();
  return buttonBox;
}

Fixed version (ground truth):
/** 
 * Returns this field editor's button box containing the Add, Remove, Up, and Down button.
 * @param parent the parent control
 * @return the button box
 */
public Composite getButtonBoxControl(Composite parent){
  if (buttonBox == null) {
    buttonBox=new Composite(parent,SWT.NULL);
    GridLayout layout=new GridLayout();
    layout.marginWidth=0;
    buttonBox.setLayout(layout);
    GridData layoutData=new GridData();
    layoutData.widthHint=100;
    layoutData.minimumWidth=100;
    buttonBox.setLayoutData(layoutData);
    createButtons(buttonBox);
    buttonBox.addDisposeListener(new DisposeListener(){
      @Override public void widgetDisposed(      DisposeEvent event){
        addButton=null;
        removeButton=null;
        upButton=null;
        downButton=null;
        buttonBox=null;
      }
    }
);
  }
  selectionChanged();
  return buttonBox;
}
Program: 121051
Project: 121051
Buggy source:
public void widgetSelected(SelectionEvent event){
  Widget widget=event.widget;
  if (widget == addButton) {
    addPressed();
  }
 else   if (widget == removeButton) {
    removePressed();
  }
 else   if (widget == upButton) {
    upPressed();
  }
 else   if (widget == downButton) {
    downPressed();
  }
 else   if (widget == viewer.getTable()) {
    selectionChanged();
  }
}

Fixed version (ground truth):
@Override public void widgetSelected(SelectionEvent event){
  Widget widget=event.widget;
  if (widget == addButton) {
    addPressed();
  }
 else   if (widget == removeButton) {
    removePressed();
  }
 else   if (widget == upButton) {
    upPressed();
  }
 else   if (widget == downButton) {
    downPressed();
  }
 else   if (widget == viewer.getTable()) {
    selectionChanged();
  }
}
Program: 121052
Project: 121052
Buggy source:
protected List<String> readString(String stringList){
  if (stringList == null || "String_Node_Str".equals(stringList)) {
    return EMPTY_STRING_LIST;
  }
  ArrayList<String> result=new ArrayList<String>(50);
  for (  String tmp : stringList.split(ARG_DELIMITER)) {
    if (tmp != null && !"String_Node_Str".equals(tmp)) {
      result.add(tmp);
    }
  }
  return result;
}

Fixed version (ground truth):
protected List<String> readString(String stringList){
  if (stringList == null || "String_Node_Str".equals(stringList)) {
    return EMPTY_STRING_LIST;
  }
  ArrayList<String> result=new ArrayList<String>(50);
  for (  String tmp : stringList.split("String_Node_Str")) {
    if (tmp != null && !"String_Node_Str".equals(tmp)) {
      result.add(tmp);
    }
  }
  return result;
}
Program: 121053
Project: 121053
Buggy source:
public void removeListener(ILabelProviderListener listener){
}

Fixed version (ground truth):
@Override public void removeListener(ILabelProviderListener listener){
}
Program: 121054
Project: 121054
Buggy source:
/** 
 * Creates a selection listener.
 */
public void createSelectionListener(){
  selectionListener=new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent event){
      Widget widget=event.widget;
      if (widget == addButton) {
        addPressed();
      }
 else       if (widget == removeButton) {
        removePressed();
      }
 else       if (widget == upButton) {
        upPressed();
      }
 else       if (widget == downButton) {
        downPressed();
      }
 else       if (widget == viewer.getTable()) {
        selectionChanged();
      }
    }
  }
;
}

Fixed version (ground truth):
/** 
 * Creates a selection listener.
 */
public void createSelectionListener(){
  selectionListener=new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent event){
      Widget widget=event.widget;
      if (widget == addButton) {
        addPressed();
      }
 else       if (widget == removeButton) {
        removePressed();
      }
 else       if (widget == upButton) {
        upPressed();
      }
 else       if (widget == downButton) {
        downPressed();
      }
 else       if (widget == viewer.getTable()) {
        selectionChanged();
      }
    }
  }
;
}
Program: 121055
Project: 121055
Buggy source:
public void selectionChanged(SelectionChangedEvent event){
  JobVMArgumentsComposite.this.selectionChanged();
}

Fixed version (ground truth):
@Override public void selectionChanged(SelectionChangedEvent event){
  JobVMArgumentsComposite.this.selectionChanged();
}
Program: 121056
Project: 121056
Buggy source:
/** 
 * Returns this field editor's list control.
 * @param parent the parent control
 * @return the list control
 */
protected TableViewer getTableControl(Composite parent){
  if (viewer == null) {
    Table table=createTable(parent);
    viewer=new TableViewer(table);
    viewer.setContentProvider(createContentProvider());
    viewer.setLabelProvider(createLabelProvider());
    table.setFont(parent.getFont());
    viewer.addSelectionChangedListener(new ISelectionChangedListener(){
      public void selectionChanged(      SelectionChangedEvent event){
        JobVMArgumentsComposite.this.selectionChanged();
      }
    }
);
    viewer.addDoubleClickListener(new IDoubleClickListener(){
      public void doubleClick(      DoubleClickEvent event){
        editItem(event.getSelection());
      }
    }
);
  }
  return viewer;
}

Fixed version (ground truth):
/** 
 * Returns this field editor's list control.
 * @param parent the parent control
 * @return the list control
 */
protected TableViewer getTableControl(Composite parent){
  if (viewer == null) {
    Table table=createTable(parent);
    viewer=new TableViewer(table);
    viewer.setContentProvider(createContentProvider());
    viewer.setLabelProvider(createLabelProvider());
    table.setFont(parent.getFont());
    viewer.addSelectionChangedListener(new ISelectionChangedListener(){
      @Override public void selectionChanged(      SelectionChangedEvent event){
        JobVMArgumentsComposite.this.selectionChanged();
      }
    }
);
    viewer.addDoubleClickListener(new IDoubleClickListener(){
      @Override public void doubleClick(      DoubleClickEvent event){
        editItem(event.getSelection());
      }
    }
);
  }
  return viewer;
}
Program: 121057
Project: 121057
Buggy source:
protected String writeString(List<String> items){
  int size=items.size();
  StringBuffer buf=new StringBuffer(size * 50);
  buf.append(ARG_DELIMITER);
  for (int i=0; i < size; i++) {
    buf.append(items.get(i));
    if (i != size - 1) {
      String trim=ARG_DELIMITER.trim();
      if (!items.get(i + 1).trim().startsWith(trim)) {
        buf.append(ARG_DELIMITER);
      }
 else {
        buf.append("String_Node_Str");
      }
    }
  }
  return buf.toString();
}

Fixed version (ground truth):
protected String writeString(List<String> items){
  int size=items.size();
  StringBuffer buf=new StringBuffer(size * 50);
  buf.append("String_Node_Str");
  for (int i=0; i < size; i++) {
    buf.append(items.get(i).replaceAll("String_Node_Str","String_Node_Str"));
    buf.append("String_Node_Str");
  }
  return buf.toString();
}
Program: 121058
Project: 121058
Buggy source:
public static void checkComponentFolder(File currentFolder,String languageSuffix) throws BusinessException {
  checkFiles(currentFolder,languageSuffix);
  File xmlMainFile=new File(currentFolder,ComponentFilesNaming.getInstance().getMainXMLFileName(currentFolder.getName(),languageSuffix));
  XsdValidationCacheManager xsdValidationCacheManager=XsdValidationCacheManager.getInstance();
  long currentCRC=0;
  FileInputStream fis=null;
  try {
    fis=new FileInputStream(xmlMainFile);
    currentCRC=IOUtils.computeCRC(fis);
    if (!CommonsPlugin.isHeadless() && xsdValidationCacheManager.needCheck(xmlMainFile,currentCRC)) {
      checkXSD(xmlMainFile);
      xsdValidationCacheManager.setChecked(xmlMainFile,currentCRC);
    }
  }
 catch (  FileNotFoundException e) {
    ExceptionHandler.process(e);
  }
 finally {
    if (fis != null) {
      try {
        fis.close();
      }
 catch (      IOException e) {
      }
    }
  }
}

Fixed version (ground truth):
public static void checkComponentFolder(File currentFolder,String languageSuffix) throws BusinessException {
  checkFiles(currentFolder,languageSuffix);
  File xmlMainFile=new File(currentFolder,ComponentFilesNaming.getInstance().getMainXMLFileName(currentFolder.getName(),languageSuffix));
  long currentCRC=0;
  FileInputStream fis=null;
  try {
    fis=new FileInputStream(xmlMainFile);
    currentCRC=IOUtils.computeCRC(fis);
    if (!CommonsPlugin.isHeadless()) {
      checkXSD(xmlMainFile);
    }
  }
 catch (  FileNotFoundException e) {
    ExceptionHandler.process(e);
  }
 finally {
    if (fis != null) {
      try {
        fis.close();
      }
 catch (      IOException e) {
      }
    }
  }
}
Program: 121059
Project: 121059
Buggy source:
@Override public void run(){
  FOXTreeNode node=(FOXTreeNode)this.getStructuredSelection().getFirstElement();
  if (createChildNode(node)) {
    foxui.redrawLinkers();
  }
}

Fixed version (ground truth):
@Override public void run(){
  FOXTreeNode node=(FOXTreeNode)this.getStructuredSelection().getFirstElement();
  if (node != null && createChildNode(node)) {
    foxui.redrawLinkers();
  }
}
Program: 121060
Project: 121060
Buggy source:
public void createFieldEditors(){
  Label l=new Label(getFieldEditorParent(),SWT.NONE);
  l.setText(Messages.getString("String_Node_Str"));
  GridData gd=new GridData();
  gd.horizontalSpan=3;
  l.setLayoutData(gd);
  filePathTemp=new DirectoryFieldEditor(PluginConstant.PROJECT_URL,Messages.getString("String_Node_Str"),getFieldEditorParent());
  addField(filePathTemp);
}

Fixed version (ground truth):
public void createFieldEditors(){
  Label l=new Label(getFieldEditorParent(),SWT.NONE);
  l.setText(Messages.getString("String_Node_Str"));
  GridData gd=new GridData();
  gd.horizontalSpan=3;
  l.setLayoutData(gd);
  filePathTemp=new DirectoryFieldEditor(PluginConstant.PROJECT_URL,Messages.getString("String_Node_Str"),getFieldEditorParent());
  addField(filePathTemp);
  filePathTemp.getTextControl(getFieldEditorParent()).addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      String newPath=filePathTemp.getTextControl(getFieldEditorParent()).getText();
      File file=new File(newPath);
      if (!file.exists() && !"String_Node_Str".equals(newPath)) {
        filePathTemp.showErrorMessage();
        setValid(false);
      }
 else {
        setValid(true);
      }
    }
  }
);
}
Program: 121061
Project: 121061
Buggy source:
@Override public void init(TreeViewer viewer,IStructuredSelection selection){
  boolean canWork=!selection.isEmpty() && selection.size() == 1;
  if (canWork) {
    Object o=selection.getFirstElement();
    RepositoryNode node=(RepositoryNode)o;
    if (RepositoryManager.isOpenedItemInEditor(node.getObject())) {
      canWork=false;
    }
 else {
switch (node.getType()) {
case REPOSITORY_ELEMENT:
        if (node.getObjectType() != ERepositoryObjectType.PROCESS) {
          canWork=false;
        }
      break;
default :
    canWork=false;
}
}
}
setEnabled(canWork);
}

Fixed version (ground truth):
@Override public void init(TreeViewer viewer,IStructuredSelection selection){
  boolean canWork=!selection.isEmpty() && selection.size() == 1;
  if (canWork) {
    Object o=selection.getFirstElement();
    RepositoryNode node=(RepositoryNode)o;
    if (RepositoryManager.isOpenedItemInEditor(node.getObject())) {
      canWork=false;
    }
 else {
switch (node.getType()) {
case REPOSITORY_ELEMENT:
        if (node.getObjectType() != ERepositoryObjectType.PROCESS) {
          canWork=false;
        }
      break;
default :
    canWork=false;
}
}
if (canWork && node.getObject() != null && ProxyRepositoryFactory.getInstance().getStatus(node.getObject()) == ERepositoryStatus.LOCK_BY_USER) {
canWork=false;
}
}
setEnabled(canWork);
}
Program: 121062
Project: 121062
Buggy source:
private Resource createResource(ItemRecord itemRecord,IPath path,boolean byteArrayResource) throws FileNotFoundException {
  Resource resource;
  ResourceSet resourceSet=itemRecord.getResourceSet();
  if (byteArrayResource) {
    resource=new ByteArrayResource(getURI(path));
    resourceSet.getResources().add(resource);
  }
 else {
    if (FileConstants.ITEM_EXTENSION.equals(path.getFileExtension())) {
      String projectName="String_Node_Str";
      if (itemRecord.getItemProject() != null) {
        projectName=itemRecord.getItemProject().getTechnicalLabel();
      }
      String business=projectName + "String_Node_Str";
      String context=projectName + "String_Node_Str";
      String process=projectName + "String_Node_Str";
      String joblet=projectName + "String_Node_Str";
      String pathString=path.toPortableString();
      if (pathString.contains(process) || pathString.contains(context) || pathString.contains(business)|| pathString.contains(joblet)) {
        resource=new XMIResourceImpl(getURI(path));
      }
 else {
        resource=new CwmResource(getURI(path));
      }
      resourceSet.getResources().add(resource);
    }
 else {
      resource=resourceSet.createResource(getURI(path));
    }
  }
  return resource;
}

Fixed version (ground truth):
private Resource createResource(ItemRecord itemRecord,IPath path,boolean byteArrayResource) throws FileNotFoundException {
  Resource resource;
  ResourceSet resourceSet=itemRecord.getResourceSet();
  if (byteArrayResource) {
    resource=new ByteArrayResource(getURI(path));
    resourceSet.getResources().add(resource);
  }
 else {
    if (FileConstants.ITEM_EXTENSION.equals(path.getFileExtension())) {
      String projectName="String_Node_Str";
      if (itemRecord.getItemProject() != null) {
        projectName=itemRecord.getItemProject().getTechnicalLabel();
      }
      String business=projectName + "String_Node_Str";
      String context=projectName + "String_Node_Str";
      String process=projectName + "String_Node_Str";
      String joblet=projectName + "String_Node_Str";
      String pathString=path.toPortableString();
      if (pathString.contains(process) || pathString.contains(context) || pathString.contains(business)|| pathString.contains(joblet)) {
        resource=new TalendXMIResource(getURI(path));
      }
 else {
        resource=new CwmResource(getURI(path));
      }
      resourceSet.getResources().add(resource);
    }
 else {
      resource=resourceSet.createResource(getURI(path));
    }
  }
  return resource;
}
Program: 121063
Project: 121063
Buggy source:
private void computeProperty(ResourcesManager manager,ItemRecord itemRecord){
  InputStream stream=null;
  try {
    stream=manager.getStream(itemRecord.getPath());
    final Resource resource=createResource(itemRecord,itemRecord.getPath(),false);
    URIConverter uriConverter=resource.getResourceSet().getURIConverter();
    resource.getResourceSet().setURIConverter(new ExtensibleURIConverterImpl(){
      @Override public InputStream createInputStream(      URI uri,      Map<?,?> options) throws IOException {
        InputStream inputStream=null;
        EPackage ePackage=resource.getResourceSet().getPackageRegistry().getEPackage(uri.toString());
        if (ePackage != null || !"String_Node_Str".equals(uri.scheme())) {
          inputStream=super.createInputStream(uri,options);
        }
 else {
          inputStream=null;
        }
        return inputStream;
      }
    }
);
    resource.load(stream,null);
    resource.getResourceSet().setURIConverter(uriConverter);
    itemRecord.setProperty((Property)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProperty()));
  }
 catch (  Exception e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
}

Fixed version (ground truth):
private void computeProperty(ResourcesManager manager,ItemRecord itemRecord){
  InputStream stream=null;
  try {
    stream=manager.getStream(itemRecord.getPath());
    final Resource resource=createResource(itemRecord,itemRecord.getPath(),false);
    URIConverter uriConverter=resource.getResourceSet().getURIConverter();
    resource.getResourceSet().setURIConverter(new ExtensibleURIConverterImpl(){
      @Override public InputStream createInputStream(      URI uri,      Map<?,?> options) throws IOException {
        InputStream inputStream=null;
        EPackage ePackage=resource.getResourceSet().getPackageRegistry().getEPackage(uri.toString());
        if (ePackage != null || !"String_Node_Str".equals(uri.scheme())) {
          inputStream=super.createInputStream(uri,options);
        }
 else {
          inputStream=null;
        }
        return inputStream;
      }
    }
);
    EmfHelper.loadResource(resource,stream,null);
    resource.getResourceSet().setURIConverter(uriConverter);
    itemRecord.setProperty((Property)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProperty()));
  }
 catch (  Exception e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
}
Program: 121064
Project: 121064
Buggy source:
private Project computeProject(ResourcesManager manager,ItemRecord itemRecord,IPath path){
  InputStream stream=null;
  try {
    if (!projects.containsKey(path)) {
      stream=manager.getStream(path);
      Resource resource=createResource(itemRecord,path,false);
      resource.load(stream,null);
      projects.put(path,(Project)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProject()));
    }
    return projects.get(path);
  }
 catch (  IOException e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
  return null;
}

Fixed version (ground truth):
private Project computeProject(ResourcesManager manager,ItemRecord itemRecord,IPath path){
  InputStream stream=null;
  try {
    if (!projects.containsKey(path)) {
      stream=manager.getStream(path);
      Resource resource=createResource(itemRecord,path,false);
      resource.load(stream,null);
      EmfHelper.loadResource(resource,stream,null);
      projects.put(path,(Project)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProject()));
    }
    return projects.get(path);
  }
 catch (  IOException e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
  return null;
}
Program: 121065
Project: 121065
Buggy source:
private Resource createResource(ItemRecord itemRecord,IPath path,boolean byteArrayResource) throws FileNotFoundException {
  Resource resource;
  ResourceSet resourceSet=itemRecord.getResourceSet();
  if (byteArrayResource) {
    resource=new ByteArrayResource(getURI(path));
    resourceSet.getResources().add(resource);
  }
 else {
    if (FileConstants.ITEM_EXTENSION.equals(path.getFileExtension())) {
      String projectName="String_Node_Str";
      if (itemRecord.getItemProject() != null) {
        projectName=itemRecord.getItemProject().getTechnicalLabel();
      }
      String business=projectName + "String_Node_Str";
      String context=projectName + "String_Node_Str";
      String process=projectName + "String_Node_Str";
      String joblet=projectName + "String_Node_Str";
      String pathString=path.toPortableString();
      if (pathString.contains(process) || pathString.contains(context) || pathString.contains(business)|| pathString.contains(joblet)) {
        resource=new XMIResourceImpl(getURI(path));
      }
 else {
        resource=new CwmResource(getURI(path));
      }
      resourceSet.getResources().add(resource);
    }
 else {
      resource=resourceSet.createResource(getURI(path));
    }
  }
  return resource;
}

Fixed version (ground truth):
private Resource createResource(ItemRecord itemRecord,IPath path,boolean byteArrayResource) throws FileNotFoundException {
  Resource resource;
  ResourceSet resourceSet=itemRecord.getResourceSet();
  if (byteArrayResource) {
    resource=new ByteArrayResource(getURI(path));
    resourceSet.getResources().add(resource);
  }
 else {
    if (FileConstants.ITEM_EXTENSION.equals(path.getFileExtension())) {
      String projectName="String_Node_Str";
      if (itemRecord.getItemProject() != null) {
        projectName=itemRecord.getItemProject().getTechnicalLabel();
      }
      String business=projectName + "String_Node_Str";
      String context=projectName + "String_Node_Str";
      String process=projectName + "String_Node_Str";
      String joblet=projectName + "String_Node_Str";
      String pathString=path.toPortableString();
      if (pathString.contains(process) || pathString.contains(context) || pathString.contains(business)|| pathString.contains(joblet)) {
        resource=new TalendXMIResource(getURI(path));
      }
 else {
        resource=new CwmResource(getURI(path));
      }
      resourceSet.getResources().add(resource);
    }
 else {
      resource=resourceSet.createResource(getURI(path));
    }
  }
  return resource;
}
Program: 121066
Project: 121066
Buggy source:
private void computeProperty(ResourcesManager manager,ItemRecord itemRecord){
  InputStream stream=null;
  try {
    stream=manager.getStream(itemRecord.getPath());
    final Resource resource=createResource(itemRecord,itemRecord.getPath(),false);
    URIConverter uriConverter=resource.getResourceSet().getURIConverter();
    resource.getResourceSet().setURIConverter(new ExtensibleURIConverterImpl(){
      @Override public InputStream createInputStream(      URI uri,      Map<?,?> options) throws IOException {
        InputStream inputStream=null;
        EPackage ePackage=resource.getResourceSet().getPackageRegistry().getEPackage(uri.toString());
        if (ePackage != null || !"String_Node_Str".equals(uri.scheme())) {
          inputStream=super.createInputStream(uri,options);
        }
 else {
          inputStream=null;
        }
        return inputStream;
      }
    }
);
    resource.load(stream,null);
    resource.getResourceSet().setURIConverter(uriConverter);
    itemRecord.setProperty((Property)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProperty()));
  }
 catch (  Exception e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
}

Fixed version (ground truth):
private void computeProperty(ResourcesManager manager,ItemRecord itemRecord){
  InputStream stream=null;
  try {
    stream=manager.getStream(itemRecord.getPath());
    final Resource resource=createResource(itemRecord,itemRecord.getPath(),false);
    URIConverter uriConverter=resource.getResourceSet().getURIConverter();
    resource.getResourceSet().setURIConverter(new ExtensibleURIConverterImpl(){
      @Override public InputStream createInputStream(      URI uri,      Map<?,?> options) throws IOException {
        InputStream inputStream=null;
        EPackage ePackage=resource.getResourceSet().getPackageRegistry().getEPackage(uri.toString());
        if (ePackage != null || !"String_Node_Str".equals(uri.scheme())) {
          inputStream=super.createInputStream(uri,options);
        }
 else {
          inputStream=null;
        }
        return inputStream;
      }
    }
);
    EmfHelper.loadResource(resource,stream,null);
    resource.getResourceSet().setURIConverter(uriConverter);
    itemRecord.setProperty((Property)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProperty()));
  }
 catch (  Exception e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
}
Program: 121067
Project: 121067
Buggy source:
private Project computeProject(ResourcesManager manager,ItemRecord itemRecord,IPath path){
  InputStream stream=null;
  try {
    if (!projects.containsKey(path)) {
      stream=manager.getStream(path);
      Resource resource=createResource(itemRecord,path,false);
      resource.load(stream,null);
      projects.put(path,(Project)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProject()));
    }
    return projects.get(path);
  }
 catch (  IOException e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
  return null;
}

Fixed version (ground truth):
private Project computeProject(ResourcesManager manager,ItemRecord itemRecord,IPath path){
  InputStream stream=null;
  try {
    if (!projects.containsKey(path)) {
      stream=manager.getStream(path);
      Resource resource=createResource(itemRecord,path,false);
      resource.load(stream,null);
      EmfHelper.loadResource(resource,stream,null);
      projects.put(path,(Project)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProject()));
    }
    return projects.get(path);
  }
 catch (  IOException e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
  return null;
}
Program: 121069
Project: 121069
Buggy source:
public void init(TreeViewer viewer,IStructuredSelection selection){
  super.init(viewer,selection);
  boolean canWork=!selection.isEmpty() && selection.size() == 1;
  if (canWork) {
    RepositoryNode node=(RepositoryNode)selection.getFirstElement();
    if (node.getObjectType() != ERepositoryObjectType.ROUTINES) {
      canWork=false;
    }
  }
  setEnabled(canWork);
}

Fixed version (ground truth):
public void init(TreeViewer viewer,IStructuredSelection selection){
  super.init(viewer,selection);
  boolean canWork=!selection.isEmpty() && selection.size() == 1;
  if (canWork) {
    RepositoryNode node=(RepositoryNode)selection.getFirstElement();
    if (node.getObjectType() != ERepositoryObjectType.ROUTINES) {
      canWork=false;
    }
    if (canWork && node.getObject() != null && ProxyRepositoryFactory.getInstance().getStatus(node.getObject()) == ERepositoryStatus.LOCK_BY_USER) {
      canWork=false;
    }
  }
  setEnabled(canWork);
}
Program: 121070
Project: 121070
Buggy source:
@Override public void createFieldEditors(){
  final Composite parent=getFieldEditorParent();
  filePathTemp=new DirectoryFieldEditor(IComponentPreferenceConstant.USER_COMPONENTS_FOLDER,Messages.getString("String_Node_Str"),parent);
  addField(filePathTemp);
  filePathTemp.getTextControl(parent).addModifyListener(new ModifyListener(){
    String oldPath=getPreferenceStore().getString(IComponentPreferenceConstant.USER_COMPONENTS_FOLDER);
    @Override public void modifyText(    ModifyEvent e){
      String newPath=filePathTemp.getTextControl(parent).getText();
      File file=new File(newPath);
      if (!file.exists()) {
        filePathTemp.showErrorMessage();
        setValid(false);
      }
 else {
        setValid(true);
      }
    }
  }
);
  if (PluginChecker.isPreviewPluginLoaded()) {
    createForDataViewer(parent);
  }
  createForMapper(parent);
  createFortRunJob(parent);
  if (PluginChecker.isJobLetPluginLoaded()) {
    createForJoblet(parent);
  }
  parent.pack();
}

Fixed version (ground truth):
@Override public void createFieldEditors(){
  final Composite parent=getFieldEditorParent();
  filePathTemp=new DirectoryFieldEditor(IComponentPreferenceConstant.USER_COMPONENTS_FOLDER,Messages.getString("String_Node_Str"),parent);
  addField(filePathTemp);
  filePathTemp.getTextControl(parent).addModifyListener(new ModifyListener(){
    String oldPath=getPreferenceStore().getString(IComponentPreferenceConstant.USER_COMPONENTS_FOLDER);
    @Override public void modifyText(    ModifyEvent e){
      String newPath=filePathTemp.getTextControl(parent).getText();
      File file=new File(newPath);
      if (!file.exists() && !"String_Node_Str".equals(newPath)) {
        filePathTemp.showErrorMessage();
        setValid(false);
      }
 else {
        setValid(true);
      }
    }
  }
);
  if (PluginChecker.isPreviewPluginLoaded()) {
    createForDataViewer(parent);
  }
  createForMapper(parent);
  createFortRunJob(parent);
  if (PluginChecker.isJobLetPluginLoaded()) {
    createForJoblet(parent);
  }
  parent.pack();
}
Program: 121071
Project: 121071
Buggy source:
@Override public void modifyText(ModifyEvent e){
  String newPath=filePathTemp.getTextControl(parent).getText();
  File file=new File(newPath);
  if (!file.exists()) {
    filePathTemp.showErrorMessage();
    setValid(false);
  }
 else {
    setValid(true);
  }
}

Fixed version (ground truth):
@Override public void modifyText(ModifyEvent e){
  String newPath=filePathTemp.getTextControl(parent).getText();
  File file=new File(newPath);
  if (!file.exists() && !"String_Node_Str".equals(newPath)) {
    filePathTemp.showErrorMessage();
    setValid(false);
  }
 else {
    setValid(true);
  }
}
Program: 121073
Project: 121073
Buggy source:
private Resource createResource(ItemRecord itemRecord,IPath path,boolean byteArrayResource) throws FileNotFoundException {
  Resource resource;
  ResourceSet resourceSet=itemRecord.getResourceSet();
  if (byteArrayResource) {
    resource=new ByteArrayResource(getURI(path));
    resourceSet.getResources().add(resource);
  }
 else {
    if (FileConstants.ITEM_EXTENSION.equals(path.getFileExtension())) {
      String projectName="String_Node_Str";
      if (itemRecord.getItemProject() != null) {
        projectName=itemRecord.getItemProject().getTechnicalLabel();
      }
      String business=projectName + "String_Node_Str";
      String context=projectName + "String_Node_Str";
      String process=projectName + "String_Node_Str";
      String joblet=projectName + "String_Node_Str";
      String pathString=path.toPortableString();
      if (pathString.contains(process) || pathString.contains(context) || pathString.contains(business)|| pathString.contains(joblet)) {
        resource=new XMIResourceImpl(getURI(path));
      }
 else {
        resource=new CwmResource(getURI(path));
      }
      resourceSet.getResources().add(resource);
    }
 else {
      resource=resourceSet.createResource(getURI(path));
    }
  }
  return resource;
}

Fixed version (ground truth):
private Resource createResource(ItemRecord itemRecord,IPath path,boolean byteArrayResource) throws FileNotFoundException {
  Resource resource;
  ResourceSet resourceSet=itemRecord.getResourceSet();
  if (byteArrayResource) {
    resource=new ByteArrayResource(getURI(path));
    resourceSet.getResources().add(resource);
  }
 else {
    if (FileConstants.ITEM_EXTENSION.equals(path.getFileExtension())) {
      String projectName="String_Node_Str";
      if (itemRecord.getItemProject() != null) {
        projectName=itemRecord.getItemProject().getTechnicalLabel();
      }
      String business=projectName + "String_Node_Str";
      String context=projectName + "String_Node_Str";
      String process=projectName + "String_Node_Str";
      String joblet=projectName + "String_Node_Str";
      String pathString=path.toPortableString();
      if (pathString.contains(process) || pathString.contains(context) || pathString.contains(business)|| pathString.contains(joblet)) {
        resource=new TalendXMIResource(getURI(path));
      }
 else {
        resource=new CwmResource(getURI(path));
      }
      resourceSet.getResources().add(resource);
    }
 else {
      resource=resourceSet.createResource(getURI(path));
    }
  }
  return resource;
}
Program: 121074
Project: 121074
Buggy source:
private void computeProperty(ResourcesManager manager,ItemRecord itemRecord){
  InputStream stream=null;
  try {
    stream=manager.getStream(itemRecord.getPath());
    final Resource resource=createResource(itemRecord,itemRecord.getPath(),false);
    URIConverter uriConverter=resource.getResourceSet().getURIConverter();
    resource.getResourceSet().setURIConverter(new ExtensibleURIConverterImpl(){
      @Override public InputStream createInputStream(      URI uri,      Map<?,?> options) throws IOException {
        InputStream inputStream=null;
        EPackage ePackage=resource.getResourceSet().getPackageRegistry().getEPackage(uri.toString());
        if (ePackage != null || !"String_Node_Str".equals(uri.scheme())) {
          inputStream=super.createInputStream(uri,options);
        }
 else {
          inputStream=null;
        }
        return inputStream;
      }
    }
);
    resource.load(stream,null);
    resource.getResourceSet().setURIConverter(uriConverter);
    itemRecord.setProperty((Property)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProperty()));
  }
 catch (  IOException e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
}

Fixed version (ground truth):
private void computeProperty(ResourcesManager manager,ItemRecord itemRecord){
  InputStream stream=null;
  try {
    stream=manager.getStream(itemRecord.getPath());
    final Resource resource=createResource(itemRecord,itemRecord.getPath(),false);
    URIConverter uriConverter=resource.getResourceSet().getURIConverter();
    resource.getResourceSet().setURIConverter(new ExtensibleURIConverterImpl(){
      @Override public InputStream createInputStream(      URI uri,      Map<?,?> options) throws IOException {
        InputStream inputStream=null;
        EPackage ePackage=resource.getResourceSet().getPackageRegistry().getEPackage(uri.toString());
        if (ePackage != null || !"String_Node_Str".equals(uri.scheme())) {
          inputStream=super.createInputStream(uri,options);
        }
 else {
          inputStream=null;
        }
        return inputStream;
      }
    }
);
    EmfHelper.loadResource(resource,stream,null);
    resource.getResourceSet().setURIConverter(uriConverter);
    itemRecord.setProperty((Property)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProperty()));
  }
 catch (  IOException e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
}
Program: 121075
Project: 121075
Buggy source:
private Project computeProject(ResourcesManager manager,ItemRecord itemRecord,IPath path){
  InputStream stream=null;
  try {
    if (!projects.containsKey(path)) {
      stream=manager.getStream(path);
      Resource resource=createResource(itemRecord,path,false);
      resource.load(stream,null);
      projects.put(path,(Project)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProject()));
    }
    return projects.get(path);
  }
 catch (  IOException e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
  return null;
}

Fixed version (ground truth):
private Project computeProject(ResourcesManager manager,ItemRecord itemRecord,IPath path){
  InputStream stream=null;
  try {
    if (!projects.containsKey(path)) {
      stream=manager.getStream(path);
      Resource resource=createResource(itemRecord,path,false);
      resource.load(stream,null);
      EmfHelper.loadResource(resource,stream,null);
      projects.put(path,(Project)EcoreUtil.getObjectByType(resource.getContents(),PropertiesPackage.eINSTANCE.getProject()));
    }
    return projects.get(path);
  }
 catch (  IOException e) {
  }
 finally {
    if (stream != null) {
      try {
        stream.close();
      }
 catch (      IOException e) {
      }
    }
  }
  return null;
}
Program: 121076
Project: 121076
Buggy source:
/** 
 * DOC ycbai Get default util classpath entries.
 * @return
 */
private List<IClasspathEntry> getDefaultUtilClasspathEntries(){
  List<IClasspathEntry> ces=new ArrayList<IClasspathEntry>();
  addLibClasspathEntries(ces,"String_Node_Str");
  addLibClasspathEntries(ces,"String_Node_Str");
  addLibClasspathEntries(ces,"String_Node_Str");
  addLibClasspathEntries(ces,"String_Node_Str");
  addLibClasspathEntries(ces,"String_Node_Str");
  return ces;
}

Fixed version (ground truth):
/** 
 * DOC ycbai Get default util classpath entries.
 * @return
 */
private List<IClasspathEntry> getDefaultUtilClasspathEntries(){
  List<IClasspathEntry> ces=new ArrayList<IClasspathEntry>();
  addLibClasspathEntries(ces,"String_Node_Str");
  addLibClasspathEntries(ces,"String_Node_Str");
  addLibClasspathEntries(ces,"String_Node_Str");
  addLibClasspathEntries(ces,"String_Node_Str");
  return ces;
}
Program: 121077
Project: 121077
Buggy source:
protected ITableLabelProvider createLabelProvider(){
  return new ITableLabelProvider(){
    public Image getColumnImage(    Object element,    int columnIndex){
      return null;
    }
    public String getColumnText(    Object element,    int columnIndex){
      String value=((String)element);
      if (columnIndex == 0) {
        String trim=ARG_DELIMITER.trim();
        if (value.trim().startsWith(trim)) {
          return value;
        }
        return trim + value;
      }
      throw new IllegalStateException();
    }
    public void addListener(    ILabelProviderListener listener){
    }
    public void dispose(){
    }
    public boolean isLabelProperty(    Object element,    String property){
      return false;
    }
    public void removeListener(    ILabelProviderListener listener){
    }
  }
;
}

Fixed version (ground truth):
protected ITableLabelProvider createLabelProvider(){
  return new ITableLabelProvider(){
    public Image getColumnImage(    Object element,    int columnIndex){
      return null;
    }
    public String getColumnText(    Object element,    int columnIndex){
      String value=((String)element);
      if (columnIndex == 0) {
        return value;
      }
      throw new IllegalStateException();
    }
    public void addListener(    ILabelProviderListener listener){
    }
    public void dispose(){
    }
    public boolean isLabelProperty(    Object element,    String property){
      return false;
    }
    public void removeListener(    ILabelProviderListener listener){
    }
  }
;
}
Program: 121078
Project: 121078
Buggy source:
protected void editItem(ISelection sel){
  IStructuredSelection selection=(IStructuredSelection)sel;
  String existing=(String)selection.getFirstElement();
  String value=getExistingInputObject(existing);
  if (value != null) {
    int indexOf=list.indexOf(existing);
    list.remove(existing);
    list.add(indexOf,value);
    viewer.refresh();
    doSave();
  }
}

Fixed version (ground truth):
protected void editItem(ISelection sel){
  IStructuredSelection selection=(IStructuredSelection)sel;
  String existing=(String)selection.getFirstElement();
  String value=getExistingInputObject(existing);
  if (value != null) {
    int indexOf=list.indexOf(existing);
    list.remove(existing);
    list.add(indexOf,value.replaceAll("String_Node_Str","String_Node_Str"));
    viewer.refresh();
    doSave();
  }
}
Program: 121079
Project: 121079
Buggy source:
public String getColumnText(Object element,int columnIndex){
  String value=((String)element);
  if (columnIndex == 0) {
    String trim=ARG_DELIMITER.trim();
    if (value.trim().startsWith(trim)) {
      return value;
    }
    return trim + value;
  }
  throw new IllegalStateException();
}

Fixed version (ground truth):
public String getColumnText(Object element,int columnIndex){
  String value=((String)element);
  if (columnIndex == 0) {
    return value;
  }
  throw new IllegalStateException();
}
Program: 121080
Project: 121080
Buggy source:
protected List<String> readString(String stringList){
  if (stringList == null || "String_Node_Str".equals(stringList)) {
    return EMPTY_STRING_LIST;
  }
  ArrayList<String> result=new ArrayList<String>(50);
  for (  String tmp : stringList.split(ARG_DELIMITER)) {
    if (tmp != null && !"String_Node_Str".equals(tmp)) {
      result.add(tmp);
    }
  }
  return result;
}

Fixed version (ground truth):
protected List<String> readString(String stringList){
  if (stringList == null || "String_Node_Str".equals(stringList)) {
    return EMPTY_STRING_LIST;
  }
  ArrayList<String> result=new ArrayList<String>(50);
  for (  String tmp : stringList.split("String_Node_Str")) {
    if (tmp != null && !"String_Node_Str".equals(tmp)) {
      result.add(tmp);
    }
  }
  return result;
}
Program: 121081
Project: 121081
Buggy source:
protected String writeString(List<String> items){
  int size=items.size();
  StringBuffer buf=new StringBuffer(size * 50);
  buf.append(ARG_DELIMITER);
  for (int i=0; i < size; i++) {
    buf.append(items.get(i));
    if (i != size - 1) {
      String trim=ARG_DELIMITER.trim();
      if (!items.get(i + 1).trim().startsWith(trim)) {
        buf.append(ARG_DELIMITER);
      }
 else {
        buf.append("String_Node_Str");
      }
    }
  }
  return buf.toString();
}

Fixed version (ground truth):
protected String writeString(List<String> items){
  int size=items.size();
  StringBuffer buf=new StringBuffer(size * 50);
  buf.append("String_Node_Str");
  for (int i=0; i < size; i++) {
    buf.append(items.get(i).trim().replaceAll("String_Node_Str","String_Node_Str"));
    buf.append("String_Node_Str");
  }
  return buf.toString();
}
Program: 121082
Project: 121082
Buggy source:
private void judgeIsSimple(){
  if (this.loopPath.indexOf("String_Node_Str") >= 0 || this.loopPath.indexOf("String_Node_Str") >= 0) {
    this.isSimpleParse=false;
  }
  for (int i=0; i < nodePaths.length; i++) {
    if (nodePaths[i].indexOf("String_Node_Str") >= 0 || nodePaths[i].indexOf("String_Node_Str") >= 0) {
      this.isSimpleParse=false;
      break;
    }
  }
  if (this.isSimpleParse) {
    looper=new SimpleSAXLooper(loopPath,nodePaths,asXMLs);
  }
 else {
    looper=new ComplexSAXLooper(loopPath,nodePaths,asXMLs);
  }
}

Fixed version (ground truth):
private void judgeIsSimple(){
  isSimpleParse=isSimplePath(loopPath);
  for (  String path : nodePaths) {
    if (!isSimpleParse) {
      break;
    }
    isSimpleParse=isSimplePath(path);
  }
  if (this.isSimpleParse) {
    looper=new SimpleSAXLooper(loopPath,nodePaths,asXMLs);
  }
 else {
    looper=new ComplexSAXLooper(loopPath,nodePaths,asXMLs);
  }
}
Program: 121083
Project: 121083
Buggy source:
private void initLoopEntry(){
  bcache=DataBufferCache.getInstance();
  for (  XMLNode node : nodes.getNodes().values()) {
    String column=node.originPath;
    String resultCol=node.loopPath;
    String[] splits=column.split("String_Node_Str");
    for (    String tmp : splits) {
      if (tmp.equals("String_Node_Str")) {
        node.isDot=true;
      }
 else {
        resultCol+="String_Node_Str" + tmp;
      }
    }
    node.nodePath=resultCol;
  }
}

Fixed version (ground truth):
private void initLoopEntry(){
  bcache=DataBufferCache.getInstance();
  for (  XMLNode node : nodes.getNodes().values()) {
    String column=node.originPath;
    String resultCol=node.loopPath;
    String[] splits=column.split("String_Node_Str");
    for (    String tmp : splits) {
      if (tmp.equals("String_Node_Str")) {
        resultCol=resultCol.substring(0,resultCol.lastIndexOf("String_Node_Str"));
        node.setAttrOutOfLoop(true);
      }
 else       if (tmp.equals("String_Node_Str")) {
        node.isDot=true;
      }
 else {
        resultCol+="String_Node_Str" + tmp;
      }
    }
    node.nodePath=resultCol;
  }
}
Program: 121085
Project: 121085
Buggy source:
@Override public boolean checkReadOnly(){
  IProxyRepositoryFactory repFactory=DesignerPlugin.getDefault().getProxyRepositoryFactory();
  boolean readOnlyLocal=!repFactory.isEditableAndLockIfPossible(property.getItem()) || !isLastVersion(property.getItem());
  this.setReadOnly(readOnlyLocal);
  return readOnlyLocal;
}

Fixed version (ground truth):
@Override public boolean checkReadOnly(){
  IProxyRepositoryFactory repFactory=DesignerPlugin.getDefault().getProxyRepositoryFactory();
  boolean readOnlyLocal=!isLastVersion(property.getItem()) || !repFactory.isEditableAndLockIfPossible(property.getItem());
  this.setReadOnly(readOnlyLocal);
  return readOnlyLocal;
}
Program: 121087
Project: 121087
Buggy source:
@Override public void run(){
  isColumnUsed=MessageDialog.openQuestion(Display.getDefault().getActiveShell(),Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str"));
  copyUsefulAttribute(copyOfrepositoryMetadata,metadataTable,isColumnUsed);
}

Fixed version (ground truth):
@Override public void run(){
  isColumnUsed=MessageDialog.openQuestion(Display.getDefault().getActiveShell(),Messages.getString("String_Node_Str"),Messages.getString("String_Node_Str"));
}
Program: 121089
Project: 121089
Buggy source:
private void judgeIsSimple(){
  if (this.loopPath.indexOf("String_Node_Str") >= 0 || this.loopPath.indexOf("String_Node_Str") >= 0) {
    this.isSimpleParse=false;
  }
  for (int i=0; i < nodePaths.length; i++) {
    if (nodePaths[i].indexOf("String_Node_Str") >= 0 || nodePaths[i].indexOf("String_Node_Str") >= 0) {
      this.isSimpleParse=false;
      break;
    }
  }
  if (this.isSimpleParse) {
    looper=new SimpleSAXLooper(loopPath,nodePaths,asXMLs);
  }
 else {
    looper=new ComplexSAXLooper(loopPath,nodePaths,asXMLs);
  }
}

Fixed version (ground truth):
private void judgeIsSimple(){
  isSimpleParse=isSimplePath(loopPath);
  for (  String path : nodePaths) {
    if (!isSimpleParse) {
      break;
    }
    isSimpleParse=isSimplePath(path);
  }
  if (this.isSimpleParse) {
    looper=new SimpleSAXLooper(loopPath,nodePaths,asXMLs);
  }
 else {
    looper=new ComplexSAXLooper(loopPath,nodePaths,asXMLs);
  }
}
Program: 121090
Project: 121090
Buggy source:
private void initLoopEntry(){
  bcache=DataBufferCache.getInstance();
  for (  XMLNode node : nodes.getNodes().values()) {
    String column=node.originPath;
    String resultCol=node.loopPath;
    String[] splits=column.split("String_Node_Str");
    for (    String tmp : splits) {
      if (tmp.equals("String_Node_Str")) {
        node.isDot=true;
      }
 else {
        resultCol+="String_Node_Str" + tmp;
      }
    }
    node.nodePath=resultCol;
  }
}

Fixed version (ground truth):
private void initLoopEntry(){
  bcache=DataBufferCache.getInstance();
  for (  XMLNode node : nodes.getNodes().values()) {
    String column=node.originPath;
    String resultCol=node.loopPath;
    String[] splits=column.split("String_Node_Str");
    for (    String tmp : splits) {
      if (tmp.equals("String_Node_Str")) {
        resultCol=resultCol.substring(0,resultCol.lastIndexOf("String_Node_Str"));
        node.setAttrOutOfLoop(true);
      }
 else       if (tmp.equals("String_Node_Str")) {
        node.isDot=true;
      }
 else {
        resultCol+="String_Node_Str" + tmp;
      }
    }
    node.nodePath=resultCol;
  }
}