nus-yam/ex-repair huggingface dataset:
Program: 141792
Project: 141792
Buggy source:
@Override protected void doRun(){
  final IWorkspaceRunnable op=new IWorkspaceRunnable(){
    public void run(    IProgressMonitor monitor) throws CoreException {
      monitor.beginTask(Messages.PublishMetadataAction_Importing,100);
      if (nodes == null) {
        nodes=selection.toList();
      }
      int step=100;
      int size=nodes.size();
      if (size > 0) {
        step/=size;
      }
      for (      RepositoryNode node : nodes) {
        monitor.worked(step);
        WSDLUtils.validateWsdl(node);
        Definition wsdlDefinition=WSDLUtils.getWsdlDefinition(node);
        process(wsdlDefinition);
        if (monitor.isCanceled()) {
          break;
        }
      }
      nodes=null;
      monitor.done();
    }
  }
;
  IRunnableWithProgress iRunnableWithProgress=new IRunnableWithProgress(){
    public void run(    IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
      IWorkspace workspace=ResourcesPlugin.getWorkspace();
      try {
        ISchedulingRule schedulingRule=workspace.getRoot();
        workspace.run(op,schedulingRule,IWorkspace.AVOID_UPDATE,monitor);
      }
 catch (      CoreException e) {
        nodes=null;
        throw new InvocationTargetException(e);
      }
    }
  }
;
  try {
    new ProgressMonitorDialog(null).run(true,true,iRunnableWithProgress);
  }
 catch (  InvocationTargetException e) {
    ExceptionHandler.process(e);
    nodes=null;
  }
catch (  InterruptedException e) {
  }
}

Fixed version (ground truth):
@Override protected void doRun(){
  final IWorkspaceRunnable op=new IWorkspaceRunnable(){
    public void run(    IProgressMonitor monitor) throws CoreException {
      monitor.beginTask(Messages.PublishMetadataAction_Importing,100);
      if (nodes == null) {
        nodes=selection.toList();
      }
      int step=100;
      int size=nodes.size();
      if (size > 0) {
        step/=size;
      }
      for (      RepositoryNode node : nodes) {
        monitor.worked(step);
        WSDLUtils.validateWsdl(node);
        Definition wsdlDefinition=WSDLUtils.getWsdlDefinition(node);
        process(wsdlDefinition);
        if (monitor.isCanceled()) {
          break;
        }
      }
      nodes=null;
      monitor.done();
    }
  }
;
  IRunnableWithProgress iRunnableWithProgress=new IRunnableWithProgress(){
    public void run(    IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
      IWorkspace workspace=ResourcesPlugin.getWorkspace();
      try {
        ISchedulingRule schedulingRule=workspace.getRoot();
        workspace.run(op,schedulingRule,IWorkspace.AVOID_UPDATE,monitor);
      }
 catch (      CoreException e) {
        nodes=null;
        throw new InvocationTargetException(e);
      }
    }
  }
;
  try {
    if (needProgressBar) {
      new ProgressMonitorDialog(null).run(true,true,iRunnableWithProgress);
    }
 else {
      PlatformUI.getWorkbench().getProgressService().run(true,true,iRunnableWithProgress);
    }
  }
 catch (  InvocationTargetException e) {
    ExceptionHandler.process(e);
    nodes=null;
  }
catch (  InterruptedException e) {
  }
}
Program: 141793
Project: 141793
Buggy source:
public PublishMetadataAction(){
  super();
  this.setText(Messages.PublishMetadataAction_Name);
  this.setToolTipText(Messages.PublishMetadataAction_Name);
  this.setImageDescriptor(ImageProvider.getImageDesc(EImage.HIERARCHY_ICON));
}

Fixed version (ground truth):
public PublishMetadataAction(boolean needProgressBar){
  this.needProgressBar=needProgressBar;
}
Program: 141794
Project: 141794
Buggy source:
private Resource save(RouteResourceItem item){
  Resource itemResource=xmiResourceManager.getItemResource(item);
  ByteArray content=item.getContent();
  itemResource.getContents().clear();
  itemResource.getContents().add(content);
  return itemResource;
}

Fixed version (ground truth):
public Resource save(Item item) throws PersistenceException {
  Resource itemResource=null;
  if (item instanceof CamelProcessItem) {
    itemResource=saveRoute((CamelProcessItem)item);
    return itemResource;
  }
  if (item instanceof BeanItem) {
    itemResource=saveFile((BeanItem)item);
    return itemResource;
  }
  if (item instanceof RouteResourceItem) {
    itemResource=saveFile((RouteResourceItem)item);
    return itemResource;
  }
  return null;
}
Program: 141796
Project: 141796
Buggy source:
@Override protected void evaluateTextField(){
  super.evaluateTextField();
  boolean isValid=true;
  String text=filenameText.getText();
  if (text != null && !text.isEmpty()) {
    File file=new File(text);
    if (!file.exists()) {
      try {
        url=new URL(text);
      }
 catch (      MalformedURLException e) {
        url=null;
      }
    }
 else {
      try {
        url=file.toURI().toURL();
      }
 catch (      MalformedURLException e) {
        url=null;
      }
    }
    if (url == null) {
      nameStatus=createStatus(IStatus.ERROR,"String_Node_Str" + text + "String_Node_Str");
      isValid=false;
    }
    updatePageStatus();
  }
  if (isValid && !Pattern.matches(RepositoryConstants.getPattern(ERepositoryObjectType.PROCESS),nameText.getText()) || nameText.getText().trim().contains("String_Node_Str")) {
    nameStatus=createStatus(IStatus.ERROR,"String_Node_Str");
    updatePageStatus();
  }
}

Fixed version (ground truth):
@Override protected void evaluateTextField(){
  super.evaluateTextField();
  boolean isValid=true;
  String text=filenameText.getText();
  if (text != null && !text.isEmpty()) {
    File file=new File(text);
    if (!file.exists()) {
      try {
        url=new URL(text);
        InputStream is=url.openStream();
        if (is == null) {
          url=null;
        }
        if (is != null) {
          is.close();
        }
      }
 catch (      Exception e) {
        url=null;
      }
    }
 else {
      try {
        url=file.toURI().toURL();
      }
 catch (      Exception e) {
        url=null;
      }
    }
    if (url == null) {
      nameStatus=createStatus(IStatus.ERROR,"String_Node_Str" + text + "String_Node_Str");
      isValid=false;
    }
    updatePageStatus();
  }
  if (isValid && !Pattern.matches(RepositoryConstants.getPattern(ERepositoryObjectType.PROCESS),nameText.getText()) || nameText.getText().trim().contains("String_Node_Str")) {
    nameStatus=createStatus(IStatus.ERROR,"String_Node_Str");
    updatePageStatus();
  }
}
Program: 141797
Project: 141797
Buggy source:
@Override protected void evaluateTextField(){
  super.evaluateTextField();
  String text=filenameText.getText();
  if (text != null && !text.isEmpty()) {
    File file=new File(text);
    if (!file.exists()) {
      try {
        url=new URL(text);
      }
 catch (      MalformedURLException e) {
        url=null;
      }
    }
 else {
      try {
        url=file.toURI().toURL();
      }
 catch (      MalformedURLException e) {
        url=null;
      }
    }
    if (url == null) {
      nameStatus=createStatus(IStatus.ERROR,"String_Node_Str" + text + "String_Node_Str");
    }
    updatePageStatus();
  }
}

Fixed version (ground truth):
@Override protected void evaluateTextField(){
  super.evaluateTextField();
  boolean isValid=true;
  String text=filenameText.getText();
  if (text != null && !text.isEmpty()) {
    File file=new File(text);
    if (!file.exists()) {
      try {
        url=new URL(text);
      }
 catch (      MalformedURLException e) {
        url=null;
      }
    }
 else {
      try {
        url=file.toURI().toURL();
      }
 catch (      MalformedURLException e) {
        url=null;
      }
    }
    if (url == null) {
      nameStatus=createStatus(IStatus.ERROR,"String_Node_Str" + text + "String_Node_Str");
      isValid=false;
    }
    updatePageStatus();
  }
  if (isValid && !Pattern.matches(RepositoryConstants.getPattern(ERepositoryObjectType.PROCESS),nameText.getText()) || nameText.getText().trim().contains("String_Node_Str")) {
    nameStatus=createStatus(IStatus.ERROR,"String_Node_Str");
    updatePageStatus();
  }
}
Program: 141798
Project: 141798
Buggy source:
@Override public void modifyText(ModifyEvent e){
  File file=new File(filenameText.getText());
  String fileName=file.getName();
  if (nameText.getText().isEmpty()) {
    nameText.setText(fileName);
  }
  evaluateFields();
}

Fixed version (ground truth):
@Override public void modifyText(ModifyEvent e){
  File file=new File(filenameText.getText());
  String fileName=file.getName();
  if (nameText.getText().isEmpty()) {
    nameText.setText(fileName.replace("String_Node_Str","String_Node_Str"));
  }
  evaluateFields();
}
Program: 141799
Project: 141799
Buggy source:
@Override protected void addListeners(){
  super.addListeners();
  browseBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      FileDialog dlg=new FileDialog(getShell(),SWT.OPEN);
      String filename=dlg.open();
      if (filename != null) {
        filenameText.setText(filename);
      }
    }
  }
);
  filenameText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      File file=new File(filenameText.getText());
      String fileName=file.getName();
      if (nameText.getText().isEmpty()) {
        nameText.setText(fileName);
      }
      evaluateFields();
    }
  }
);
}

Fixed version (ground truth):
@Override protected void addListeners(){
  super.addListeners();
  browseBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      FileDialog dlg=new FileDialog(getShell(),SWT.OPEN);
      String filename=dlg.open();
      if (filename != null) {
        filenameText.setText(filename);
      }
    }
  }
);
  filenameText.addModifyListener(new ModifyListener(){
    @Override public void modifyText(    ModifyEvent e){
      File file=new File(filenameText.getText());
      String fileName=file.getName();
      if (nameText.getText().isEmpty()) {
        nameText.setText(fileName.replace("String_Node_Str","String_Node_Str"));
      }
      evaluateFields();
    }
  }
);
}
Program: 141800
Project: 141800
Buggy source:
public void init(TreeViewer viewer,IStructuredSelection selection){
  assignJobAction.init(viewer,selection);
  newJobAction.init(viewer,selection);
}

Fixed version (ground truth):
public void init(TreeViewer viewer,IStructuredSelection selection){
  assignJobAction.init(viewer,selection);
  newJobAction.init(viewer,selection);
  setEnabled(assignJobAction.isEnabled());
}
Program: 141801
Project: 141801
Buggy source:
public NewAssignJobAction(){
  super();
  this.setText("String_Node_Str");
  this.setToolTipText("String_Node_Str");
  this.setImageDescriptor(ImageProvider.getImageDesc(ECoreImage.PROCESS_ICON));
  assignJobAction=new AssignJobAction();
  newJobAction=new CreateNewJobAction();
}

Fixed version (ground truth):
public NewAssignJobAction(){
  super();
  this.setText(Messages.NewAssignJobAction_actionText);
  this.setToolTipText(Messages.NewAssignJobAction_actionTooltip);
  this.setImageDescriptor(ImageProvider.getImageDesc(ECoreImage.PROCESS_ICON));
  assignJobAction=new AssignJobAction();
  newJobAction=new CreateNewJobAction();
}
Program: 141802
Project: 141802
Buggy source:
private void openAnotherVersion(final RepositoryNode node,final boolean readonly){
  try {
    if (node.getObject() != null) {
      Item item=node.getObject().getProperty().getItem();
      IWorkbenchPage page=getActivePage();
      IEditorPart editorPart=null;
      RepositoryEditorInput fileEditorInput=null;
      if (item instanceof RouteResourceItem) {
        fileEditorInput=RouteResourceInput.createInput((RouteResourceItem)item);
      }
      editorPart=page.findEditor(fileEditorInput);
      if (editorPart == null) {
        fileEditorInput.setRepositoryNode(node);
        page.openEditor(fileEditorInput,RouteResourceEditor.ID);
      }
 else {
        page.activate(editorPart);
      }
    }
  }
 catch (  PartInitException e) {
    MessageBoxExceptionHandler.process(e);
  }
}

Fixed version (ground truth):
private void openAnotherVersion(final RepositoryNode node,final boolean readonly){
  if (node.getObject() != null) {
    Item item=node.getObject().getProperty().getItem();
    IWorkbenchPage page=getActivePage();
    if (item instanceof RouteResourceItem) {
      EditRouteResourceAction.openEditor(page,node,(RouteResourceItem)item);
    }
  }
}
Program: 141804
Project: 141804
Buggy source:
public ResourceLabelProvider(Table table){
  this.table=table;
}

Fixed version (ground truth):
public ResourceLabelProvider(Table table){
}
Program: 141805
Project: 141805
Buggy source:
@Override public Color getBackground(Object element,int columnIndex){
  if (element instanceof ResourceDependencyModel) {
    ResourceDependencyModel item=(ResourceDependencyModel)element;
    if (item.isBuiltIn()) {
      return new Color(null,210,210,210);
    }
  }
  return null;
}

Fixed version (ground truth):
@Override public Color getBackground(Object element,int columnIndex){
  if (element instanceof ResourceDependencyModel) {
    ResourceDependencyModel item=(ResourceDependencyModel)element;
    if (item.isBuiltIn()) {
      return BG_COLOR;
    }
  }
  return null;
}
Program: 141806
Project: 141806
Buggy source:
private Resource save(FileItem item){
  Resource itemResource=xmiResourceManager.getItemResource(item);
  ByteArray content=item.getContent();
  itemResource.getContents().clear();
  itemResource.getContents().add(content);
  return itemResource;
}

Fixed version (ground truth):
private Resource save(RouteResourceItem item){
  Resource itemResource=xmiResourceManager.getItemResource(item);
  ByteArray content=item.getContent();
  itemResource.getContents().clear();
  itemResource.getContents().add(content);
  return itemResource;
}
Program: 141807
Project: 141807
Buggy source:
@Override public void refresh(final IElementParameter param,boolean check){
  new Thread(){
    @Override public void run(){
      Display.getDefault().syncExec(new Runnable(){
        public void run(){
          if (hashCurControls == null) {
            return;
          }
          IElementParameter processTypeParameter=param.getChildParameters().get(EParameterName.ROUTE_RESOURCE_TYPE_ID.getName());
          String value=(String)processTypeParameter.getValue();
          IRepositoryViewObject lastVersion;
          try {
            lastVersion=ProxyRepositoryFactory.getInstance().getLastVersion(value);
            resetTextValue(lastVersion.getProperty().getItem());
          }
 catch (          Exception e) {
          }
          if (elem != null && elem instanceof Node) {
            ((Node)elem).checkAndRefreshNode();
          }
        }
      }
);
    }
  }
.start();
}

Fixed version (ground truth):
@Override public void refresh(final IElementParameter param,boolean check){
  new Thread(){
    @Override public void run(){
      Display.getDefault().syncExec(new Runnable(){
        public void run(){
          if (hashCurControls == null) {
            return;
          }
          IElementParameter processTypeParameter=param.getChildParameters().get(EParameterName.ROUTE_RESOURCE_TYPE_ID.getName());
          String value=(String)processTypeParameter.getValue();
          if (value == null) {
            labelText.setText("String_Node_Str");
          }
 else {
            IRepositoryViewObject lastVersion;
            try {
              lastVersion=ProxyRepositoryFactory.getInstance().getLastVersion(value);
              if (lastVersion == null) {
                processTypeParameter.setValue(null);
                labelText.setText("String_Node_Str");
              }
 else {
                resetTextValue(lastVersion.getProperty().getItem());
              }
            }
 catch (            Exception e) {
            }
          }
          if (elem != null && elem instanceof Node) {
            ((Node)elem).checkAndRefreshNode();
          }
        }
      }
);
    }
  }
.start();
}
Program: 141808
Project: 141808
Buggy source:
public void run(){
  if (hashCurControls == null) {
    return;
  }
  IElementParameter processTypeParameter=param.getChildParameters().get(EParameterName.ROUTE_RESOURCE_TYPE_ID.getName());
  String value=(String)processTypeParameter.getValue();
  IRepositoryViewObject lastVersion;
  try {
    lastVersion=ProxyRepositoryFactory.getInstance().getLastVersion(value);
    resetTextValue(lastVersion.getProperty().getItem());
  }
 catch (  Exception e) {
  }
  if (elem != null && elem instanceof Node) {
    ((Node)elem).checkAndRefreshNode();
  }
}

Fixed version (ground truth):
public void run(){
  if (hashCurControls == null) {
    return;
  }
  IElementParameter processTypeParameter=param.getChildParameters().get(EParameterName.ROUTE_RESOURCE_TYPE_ID.getName());
  String value=(String)processTypeParameter.getValue();
  if (value == null) {
    labelText.setText("String_Node_Str");
  }
 else {
    IRepositoryViewObject lastVersion;
    try {
      lastVersion=ProxyRepositoryFactory.getInstance().getLastVersion(value);
      if (lastVersion == null) {
        processTypeParameter.setValue(null);
        labelText.setText("String_Node_Str");
      }
 else {
        resetTextValue(lastVersion.getProperty().getItem());
      }
    }
 catch (    Exception e) {
    }
  }
  if (elem != null && elem instanceof Node) {
    ((Node)elem).checkAndRefreshNode();
  }
}
Program: 141809
Project: 141809
Buggy source:
@Override protected Set<BundleClasspath> to(NodeType t){
  Set<BundleClasspath> bundleClasspaths=new HashSet<BundleClasspath>();
  for (  Object e : t.getElementParameter()) {
    ElementParameterType p=(ElementParameterType)e;
    if (attributeName.equals(p.getName())) {
      EList elementValue=p.getElementValue();
      if (elementValue.isEmpty()) {
        String evtValue=p.getValue();
        if (evtValue != null) {
          if (evtValue.startsWith("String_Node_Str")) {
            evtValue=evtValue.substring(1);
          }
          if (evtValue.endsWith("String_Node_Str")) {
            evtValue=evtValue.substring(0,evtValue.length() - 1);
          }
          if (!evtValue.trim().equals("String_Node_Str")) {
            BundleClasspath bundleClasspath=new BundleClasspath();
            bundleClasspath.setBuiltIn(true);
            bundleClasspath.setPath(evtValue);
            bundleClasspaths.add(bundleClasspath);
          }
        }
      }
 else {
        for (        Object pv : p.getElementValue()) {
          ElementValueType evt=(ElementValueType)pv;
          String evtValue=evt.getValue();
          BundleClasspath bundleClasspath=new BundleClasspath();
          bundleClasspath.setBuiltIn(true);
          bundleClasspath.setPath(evtValue);
          bundleClasspaths.add(bundleClasspath);
        }
      }
    }
  }
  return Collections.unmodifiableSet(bundleClasspaths);
}

Fixed version (ground truth):
@Override protected Set<BundleClasspath> to(NodeType t){
  Set<BundleClasspath> bundleClasspaths=new HashSet<BundleClasspath>();
  for (  Object e : t.getElementParameter()) {
    ElementParameterType p=(ElementParameterType)e;
    if (attributeName.equals(p.getName())) {
      EList<?> elementValue=p.getElementValue();
      if (elementValue.isEmpty()) {
        String evtValue=p.getValue();
        if (evtValue != null) {
          if (evtValue.startsWith("String_Node_Str")) {
            evtValue=evtValue.substring(1);
          }
          if (evtValue.endsWith("String_Node_Str")) {
            evtValue=evtValue.substring(0,evtValue.length() - 1);
          }
          if (!evtValue.trim().equals("String_Node_Str")) {
            BundleClasspath bundleClasspath=new BundleClasspath();
            bundleClasspath.setBuiltIn(true);
            bundleClasspath.setPath(evtValue);
            bundleClasspaths.add(bundleClasspath);
          }
        }
      }
 else {
        for (        Object pv : p.getElementValue()) {
          ElementValueType evt=(ElementValueType)pv;
          String evtValue=evt.getValue();
          BundleClasspath bundleClasspath=new BundleClasspath();
          bundleClasspath.setBuiltIn(true);
          bundleClasspath.setPath(evtValue);
          bundleClasspaths.add(bundleClasspath);
        }
      }
    }
  }
  return Collections.unmodifiableSet(bundleClasspaths);
}
Program: 141811
Project: 141811
Buggy source:
/** 
 * validate the dependency information is valid or not
 * @return {@link #OK} {@link #NAME_NULL} {@link #MIN_INVALID}{@link #MAX_INVALID} {@link #MIN_MAX_INVALID}
 */
public int isValid(){
  if (name == null) {
    return NAME_NULL;
  }
  if (minVersion != null) {
    Matcher matcher=versionPattern.matcher(minVersion);
    if (!matcher.matches()) {
      return MIN_INVALID;
    }
  }
  if (maxVersion != null) {
    Matcher matcher=versionPattern.matcher(maxVersion);
    if (!matcher.matches()) {
      return MAX_INVALID;
    }
  }
  if (!compareMinMax()) {
    return MIN_MAX_INVALID;
  }
  return OK;
}

Fixed version (ground truth):
/** 
 * validate the dependency information is valid or not
 * @return {@link #OK} {@link #NAME_NULL} {@link #MIN_INVALID}{@link #MAX_INVALID} {@link #MIN_MAX_INVALID}
 */
public int isValid(){
  if (name == null) {
    return NAME_NULL;
  }
  if (!namePattern.matcher(name).matches()) {
    return NAME_INVALID;
  }
  if (minVersion != null) {
    Matcher matcher=versionPattern.matcher(minVersion);
    if (!matcher.matches()) {
      return MIN_INVALID;
    }
  }
  if (maxVersion != null) {
    Matcher matcher=versionPattern.matcher(maxVersion);
    if (!matcher.matches()) {
      return MAX_INVALID;
    }
  }
  if (!compareMinMax()) {
    return MIN_MAX_INVALID;
  }
  return OK;
}
Program: 141812
Project: 141812
Buggy source:
/** 
 * only care about the name, ignore others
 */
@Override public boolean equals(Object obj){
  if (obj == null) {
    return false;
  }
  if (obj == this) {
    return true;
  }
  if (!(obj instanceof ImportPackage)) {
    return false;
  }
  if (name == null) {
    return false;
  }
  return name.equals(((ImportPackage)obj).getName());
}

Fixed version (ground truth):
/** 
 * only care about the name, ignore others
 */
@Override public boolean equals(Object obj){
  if (obj == null) {
    return false;
  }
  if (obj == this) {
    return true;
  }
  if (obj.getClass() != getClass()) {
    return false;
  }
  if (name == null) {
    return false;
  }
  return name.equals(((OsgiDependencies<?>)obj).getName());
}
Program: 141813
Project: 141813
Buggy source:
/** 
 * normalize the version to "*.*.*" if it is not.
 * @param version
 * @return
 */
protected String normalizeVersion(String version){
  if (version == null)   return null;
  int dotCount=0;
  int length=version.length();
  for (int i=0; i < length; i++) {
    if ('.' == version.charAt(i)) {
      dotCount++;
    }
  }
  dotCount=2 - dotCount;
  if (dotCount == 0) {
    return version;
  }
  StringBuilder sb=new StringBuilder();
  sb.append(version);
  for (int i=0; i < dotCount; i++) {
    sb.append("String_Node_Str");
  }
  return sb.toString();
}

Fixed version (ground truth):
/** 
 * normalize the version to "*.*.*" if it is not.
 * @param version
 * @return
 */
protected String normalizeVersion(String version){
  if (version == null || version.trim().equals("String_Node_Str"))   return null;
  int dotCount=0;
  int length=version.length();
  for (int i=0; i < length; i++) {
    if ('.' == version.charAt(i)) {
      dotCount++;
    }
  }
  dotCount=2 - dotCount;
  if (dotCount == 0) {
    return version;
  }
  StringBuilder sb=new StringBuilder();
  sb.append(version);
  for (int i=0; i < dotCount; i++) {
    sb.append("String_Node_Str");
  }
  return sb.toString();
}
Program: 141814
Project: 141814
Buggy source:
/** 
 * validate the dependency information is valid or not
 * @return {@link #OK} {@link #NAME_NULL} {@link #MIN_INVALID}{@link #MAX_INVALID} {@link #MIN_MAX_INVALID}
 */
public int isValid(){
  if (name == null) {
    return NAME_NULL;
  }
  if (!namePattern.matcher(name).matches()) {
    return NAME_INVALID;
  }
  if (minVersion != null && !minVersion.trim().equals("String_Node_Str")) {
    Matcher matcher=versionPattern.matcher(minVersion);
    if (!matcher.matches()) {
      return MIN_INVALID;
    }
  }
  if (maxVersion != null && !maxVersion.trim().equals("String_Node_Str")) {
    Matcher matcher=versionPattern.matcher(maxVersion);
    if (!matcher.matches()) {
      return MAX_INVALID;
    }
  }
  if (!compareMinMax()) {
    return MIN_MAX_INVALID;
  }
  return OK;
}

Fixed version (ground truth):
/** 
 * validate the dependency information is valid or not
 * @return {@link #OK} {@link #NAME_NULL} {@link #MIN_INVALID}{@link #MAX_INVALID} {@link #MIN_MAX_INVALID}
 */
public int isValid(){
  if (name == null || name.trim().equals("String_Node_Str")) {
    return NAME_NULL;
  }
  if (!namePattern.matcher(name).matches()) {
    return NAME_INVALID;
  }
  if (minVersion != null && !minVersion.trim().equals("String_Node_Str")) {
    Matcher matcher=versionPattern.matcher(minVersion);
    if (!matcher.matches()) {
      return MIN_INVALID;
    }
  }
  if (maxVersion != null && !maxVersion.trim().equals("String_Node_Str")) {
    Matcher matcher=versionPattern.matcher(maxVersion);
    if (!matcher.matches()) {
      return MAX_INVALID;
    }
  }
  if (!compareMinMax()) {
    return MIN_MAX_INVALID;
  }
  return OK;
}
Program: 141815
Project: 141815
Buggy source:
@Override public void doSaveAs(){
  SaveAsProcessAction saveAsAction=new SaveAsProcessAction(this);
  saveAsAction.run();
}

Fixed version (ground truth):
@Override public void doSaveAs(){
  SaveAsRoutesAction saveAsAction=new SaveAsRoutesAction(this);
  saveAsAction.run();
}
Program: 141816
Project: 141816
Buggy source:
public CamelMultiPageTalendEditor getParent(){
  return (CamelMultiPageTalendEditor)super.getParent();
}

Fixed version (ground truth):
@Override public CamelMultiPageTalendEditor getParent(){
  return (CamelMultiPageTalendEditor)super.getParent();
}
Program: 141817
Project: 141817
Buggy source:
public Process getProcess(){
  return (Process)super.getProcess();
}

Fixed version (ground truth):
@Override public Process getProcess(){
  return (Process)super.getProcess();
}
Program: 141818
Project: 141818
Buggy source:
@Override public void doSaveAs(){
  SaveAsProcessAction saveAsAction=new SaveAsProcessAction(this);
  saveAsAction.run();
}

Fixed version (ground truth):
@Override public void doSaveAs(){
  SaveAsRoutesAction saveAsAction=new SaveAsRoutesAction(this);
  saveAsAction.run();
}
Program: 141821
Project: 141821
Buggy source:
public void run(IIntroSite site,Properties params){
  PlatformUI.getWorkbench().getIntroManager().closeIntro(PlatformUI.getWorkbench().getIntroManager().getIntro());
  selectRootObject(params);
  doRun();
}

Fixed version (ground truth):
public void run(IIntroSite site,Properties params){
  IProxyRepositoryFactory factory=ProxyRepositoryFactory.getInstance();
  if (factory.isUserReadOnlyOnCurrentProject()) {
    MessageDialog.openWarning(null,"String_Node_Str","String_Node_Str");
  }
 else {
    PlatformUI.getWorkbench().getIntroManager().closeIntro(PlatformUI.getWorkbench().getIntroManager().getIntro());
    selectRootObject(params);
    doRun();
  }
}
Program: 141822
Project: 141822
Buggy source:
public void run(IIntroSite site,Properties params){
  PlatformUI.getWorkbench().getIntroManager().closeIntro(PlatformUI.getWorkbench().getIntroManager().getIntro());
  selectRootObject(params);
  doRun();
}

Fixed version (ground truth):
public void run(IIntroSite site,Properties params){
  IProxyRepositoryFactory factory=ProxyRepositoryFactory.getInstance();
  if (factory.isUserReadOnlyOnCurrentProject()) {
    MessageDialog.openWarning(null,"String_Node_Str","String_Node_Str");
  }
 else {
    PlatformUI.getWorkbench().getIntroManager().closeIntro(PlatformUI.getWorkbench().getIntroManager().getIntro());
    selectRootObject(params);
    doRun();
  }
}
Program: 141823
Project: 141823
Buggy source:
@Override protected void doRun(){
  RepositoryNode beanNode=getCurrentRepositoryNode();
  if (isToolbar()) {
    if (beanNode != null && beanNode.getContentType() != ESBRepositoryNodeType.SERVICES) {
      beanNode=null;
    }
    if (beanNode == null) {
      beanNode=getRepositoryNodeForDefault(ESBRepositoryNodeType.SERVICES);
    }
  }
  ISelection selection;
  IWorkbenchPage activePage=getActivePage();
  if (activePage == null) {
    selection=getSelection();
  }
 else {
    selection=getRepositorySelection();
  }
  if (selection.isEmpty()) {
    return;
  }
  ESBWizard beanWizard=new ESBWizard(PlatformUI.getWorkbench(),true,selection);
  WizardDialog dlg=new WizardDialog(Display.getCurrent().getActiveShell(),beanWizard);
}

Fixed version (ground truth):
@Override protected void doRun(){
  RepositoryNode beanNode=getCurrentRepositoryNode();
  if (isToolbar()) {
    if (beanNode != null && beanNode.getContentType() != ESBRepositoryNodeType.SERVICES) {
      beanNode=null;
    }
    if (beanNode == null) {
      beanNode=getRepositoryNodeForDefault(ESBRepositoryNodeType.SERVICES);
    }
  }
  ISelection selection;
  IWorkbenchPage activePage=getActivePage();
  if (activePage == null) {
    selection=getSelection();
  }
 else {
    selection=getRepositorySelection();
  }
  if (selection.isEmpty()) {
    return;
  }
  ESBWizard beanWizard=new ESBWizard(PlatformUI.getWorkbench(),true,selection);
  WizardDialog dlg=new WizardDialog(Display.getCurrent().getActiveShell(),beanWizard);
  dlg.open();
}
Program: 141824
Project: 141824
Buggy source:
public void init(TreeViewer viewer,IStructuredSelection selection){
  boolean canWork=!selection.isEmpty() && selection.size() == 1;
  IProxyRepositoryFactory factory=ProxyRepositoryFactory.getInstance();
  if (factory.isUserReadOnlyOnCurrentProject()) {
    canWork=false;
  }
  if (canWork) {
    Object o=selection.getFirstElement();
    RepositoryNode node=(RepositoryNode)o;
switch (node.getType()) {
case SIMPLE_FOLDER:
case SYSTEM_FOLDER:
      ERepositoryObjectType nodeType=(ERepositoryObjectType)node.getProperties(EProperties.CONTENT_TYPE);
    if (nodeType != CamelRepositoryNodeType.repositoryBeansType) {
      canWork=false;
    }
  if (node.getObject() != null && node.getObject().getProperty().getItem().getState().isDeleted()) {
    canWork=false;
  }
break;
default :
canWork=false;
}
if (canWork && !ProjectManager.getInstance().isInCurrentMainProject(node)) {
canWork=false;
}
}
setEnabled(canWork);
}

Fixed version (ground truth):
@Override public void init(TreeViewer viewer,IStructuredSelection selection){
  boolean canWork=!selection.isEmpty() && selection.size() == 1;
  IProxyRepositoryFactory factory=ProxyRepositoryFactory.getInstance();
  if (factory.isUserReadOnlyOnCurrentProject()) {
    canWork=false;
  }
  if (canWork) {
    Object o=selection.getFirstElement();
    RepositoryNode node=(RepositoryNode)o;
switch (node.getType()) {
case SIMPLE_FOLDER:
case SYSTEM_FOLDER:
      ERepositoryObjectType nodeType=(ERepositoryObjectType)node.getProperties(EProperties.CONTENT_TYPE);
    if (nodeType != CamelRepositoryNodeType.repositoryBeansType) {
      canWork=false;
    }
  if (node.getObject() != null && node.getObject().getProperty().getItem().getState().isDeleted()) {
    canWork=false;
  }
break;
default :
canWork=false;
}
if (canWork && !ProjectManager.getInstance().isInCurrentMainProject(node)) {
canWork=false;
}
}
setEnabled(canWork);
}
Program: 141825
Project: 141825
Buggy source:
protected void doRun(){
  RepositoryNode beanNode=getCurrentRepositoryNode();
  if (isToolbar()) {
    if (beanNode != null && beanNode.getContentType() != CamelRepositoryNodeType.repositoryBeansType) {
      beanNode=null;
    }
    if (beanNode == null) {
      beanNode=getRepositoryNodeForDefault(CamelRepositoryNodeType.repositoryBeansType);
    }
  }
  RepositoryNode node=null;
  IPath path=null;
  if (!isToolbar()) {
    ISelection selection=getSelection();
    Object obj=((IStructuredSelection)selection).getFirstElement();
    node=(RepositoryNode)obj;
    path=RepositoryNodeUtilities.getPath(node);
  }
  CamelNewBeanWizard beanWizard=new CamelNewBeanWizard(path);
  WizardDialog dlg=new WizardDialog(Display.getCurrent().getActiveShell(),beanWizard);
  if (dlg.open() == Window.OK) {
    RepositoryManager.refreshCreatedNode(CamelRepositoryNodeType.repositoryBeansType);
    try {
      openBeanEditor(beanWizard.getBean(),false);
    }
 catch (    PartInitException e) {
      MessageBoxExceptionHandler.process(e);
    }
catch (    SystemException e) {
      MessageBoxExceptionHandler.process(e);
    }
  }
}

Fixed version (ground truth):
@Override protected void doRun(){
  RepositoryNode beanNode=getCurrentRepositoryNode();
  if (isToolbar()) {
    if (beanNode != null && beanNode.getContentType() != CamelRepositoryNodeType.repositoryBeansType) {
      beanNode=null;
    }
    if (beanNode == null) {
      beanNode=getRepositoryNodeForDefault(CamelRepositoryNodeType.repositoryBeansType);
    }
  }
  RepositoryNode node=null;
  IPath path=null;
  if (!isToolbar()) {
    ISelection selection=getSelection();
    Object obj=((IStructuredSelection)selection).getFirstElement();
    node=(RepositoryNode)obj;
    path=RepositoryNodeUtilities.getPath(node);
  }
  CamelNewBeanWizard beanWizard=new CamelNewBeanWizard(path);
  WizardDialog dlg=new WizardDialog(Display.getCurrent().getActiveShell(),beanWizard);
  if (dlg.open() == Window.OK) {
    try {
      openBeanEditor(beanWizard.getBean(),false);
    }
 catch (    PartInitException e) {
      MessageBoxExceptionHandler.process(e);
    }
catch (    SystemException e) {
      MessageBoxExceptionHandler.process(e);
    }
  }
}
Program: 141826
Project: 141826
Buggy source:
@Override public boolean performCancel(){
  ProcessorUtilities.resetExportConfig();
  RepositoryManager.refreshCreatedNode(CamelRepositoryNodeType.repositoryRoutesType);
  selection=null;
  mainPage=null;
  return true;
}

Fixed version (ground truth):
@Override public boolean performCancel(){
  ProcessorUtilities.resetExportConfig();
  selection=null;
  mainPage=null;
  return true;
}
Program: 141827
Project: 141827
Buggy source:
public void addPages(){
  super.addPages();
switch (((RepositoryContext)CorePlugin.getContext().getProperty(Context.REPOSITORY_CONTEXT_KEY)).getProject().getLanguage()) {
case JAVA:
    mainPage=new JavaCamelJobScriptsExportWSWizardPage(selection,exportType);
  break;
}
addPage(mainPage);
}

Fixed version (ground truth):
@Override public void addPages(){
  super.addPages();
switch (((RepositoryContext)CorePlugin.getContext().getProperty(Context.REPOSITORY_CONTEXT_KEY)).getProject().getLanguage()) {
case JAVA:
    mainPage=new JavaCamelJobScriptsExportWSWizardPage(selection,exportType);
  break;
}
addPage(mainPage);
}
Program: 141828
Project: 141828
Buggy source:
public boolean performFinish(){
  boolean finish=mainPage.finish();
  return finish;
}

Fixed version (ground truth):
@Override public boolean performFinish(){
  boolean finish=mainPage.finish();
  return finish;
}
Program: 141829
Project: 141829
Buggy source:
private void unlockObject(){
  IProxyRepositoryFactory repositoryFactory=CorePlugin.getDefault().getRepositoryService().getProxyRepositoryFactory();
  try {
    if (repositoryFactory.getStatus(processObject).equals(ERepositoryStatus.LOCK_BY_USER)) {
      repositoryFactory.unlock(processObject);
    }
  }
 catch (  PersistenceException e) {
    ExceptionHandler.process(e);
  }
catch (  LoginException e) {
    ExceptionHandler.process(e);
  }
  RepositoryManager.refreshCreatedNode(ERepositoryObjectType.PROCESS);
}

Fixed version (ground truth):
private void unlockObject(){
  IProxyRepositoryFactory repositoryFactory=CorePlugin.getDefault().getRepositoryService().getProxyRepositoryFactory();
  try {
    if (repositoryFactory.getStatus(processObject).equals(ERepositoryStatus.LOCK_BY_USER)) {
      repositoryFactory.unlock(processObject);
    }
  }
 catch (  PersistenceException e) {
    ExceptionHandler.process(e);
  }
catch (  LoginException e) {
    ExceptionHandler.process(e);
  }
}
Program: 141830
Project: 141830
Buggy source:
protected void doRun(){
  RepositoryNode beanNode=getCurrentRepositoryNode();
  if (isToolbar()) {
    if (beanNode != null && beanNode.getContentType() != ESBRepositoryNodeType.SERVICES) {
      beanNode=null;
    }
    if (beanNode == null) {
      beanNode=getRepositoryNodeForDefault(ESBRepositoryNodeType.SERVICES);
    }
  }
  ISelection selection;
  IWorkbenchPage activePage=getActivePage();
  if (activePage == null) {
    selection=getSelection();
  }
 else {
    selection=getRepositorySelection();
  }
  if (selection.isEmpty()) {
    return;
  }
  ESBWizard beanWizard=new ESBWizard(PlatformUI.getWorkbench(),true,selection);
  WizardDialog dlg=new WizardDialog(Display.getCurrent().getActiveShell(),beanWizard);
  if (dlg.open() == Window.OK) {
    RepositoryManager.refreshCreatedNode(ESBRepositoryNodeType.SERVICES);
  }
}

Fixed version (ground truth):
@Override protected void doRun(){
  RepositoryNode beanNode=getCurrentRepositoryNode();
  if (isToolbar()) {
    if (beanNode != null && beanNode.getContentType() != ESBRepositoryNodeType.SERVICES) {
      beanNode=null;
    }
    if (beanNode == null) {
      beanNode=getRepositoryNodeForDefault(ESBRepositoryNodeType.SERVICES);
    }
  }
  ISelection selection;
  IWorkbenchPage activePage=getActivePage();
  if (activePage == null) {
    selection=getSelection();
  }
 else {
    selection=getRepositorySelection();
  }
  if (selection.isEmpty()) {
    return;
  }
  ESBWizard beanWizard=new ESBWizard(PlatformUI.getWorkbench(),true,selection);
  WizardDialog dlg=new WizardDialog(Display.getCurrent().getActiveShell(),beanWizard);
}
Program: 141831
Project: 141831
Buggy source:
protected void doRun(){
  if (repositoryNode == null) {
    repositoryNode=getCurrentRepositoryNode();
  }
  if (isToolbar()) {
    if (repositoryNode != null && repositoryNode.getContentType() != currentNodeType) {
      repositoryNode=null;
    }
    if (repositoryNode == null) {
      repositoryNode=getRepositoryNodeForDefault(currentNodeType);
    }
  }
  WizardDialog wizardDialog;
  if (isToolbar()) {
    init(repositoryNode);
    OpenWSDLWizard openWizard=new OpenWSDLWizard(PlatformUI.getWorkbench(),repositoryNode);
    wizardDialog=new WizardDialog(Display.getCurrent().getActiveShell(),openWizard);
  }
 else {
    wizardDialog=new WizardDialog(Display.getCurrent().getActiveShell(),new OpenWSDLWizard(PlatformUI.getWorkbench(),repositoryNode));
  }
  if (!creation) {
    RepositoryManager.refreshSavedNode(repositoryNode);
  }
  wizardDialog.setPageSize(WIZARD_WIDTH,WIZARD_HEIGHT);
  wizardDialog.create();
  wizardDialog.open();
  RepositoryManager.refreshCreatedNode(ESBRepositoryNodeType.SERVICES);
}

Fixed version (ground truth):
@Override protected void doRun(){
  if (repositoryNode == null) {
    repositoryNode=getCurrentRepositoryNode();
  }
  if (isToolbar()) {
    if (repositoryNode != null && repositoryNode.getContentType() != currentNodeType) {
      repositoryNode=null;
    }
    if (repositoryNode == null) {
      repositoryNode=getRepositoryNodeForDefault(currentNodeType);
    }
  }
  WizardDialog wizardDialog;
  if (isToolbar()) {
    init(repositoryNode);
    OpenWSDLWizard openWizard=new OpenWSDLWizard(PlatformUI.getWorkbench(),repositoryNode);
    wizardDialog=new WizardDialog(Display.getCurrent().getActiveShell(),openWizard);
  }
 else {
    wizardDialog=new WizardDialog(Display.getCurrent().getActiveShell(),new OpenWSDLWizard(PlatformUI.getWorkbench(),repositoryNode));
  }
  if (!creation) {
    RepositoryManager.refreshSavedNode(repositoryNode);
  }
  wizardDialog.setPageSize(WIZARD_WIDTH,WIZARD_HEIGHT);
  wizardDialog.create();
  wizardDialog.open();
}
Program: 141832
Project: 141832
Buggy source:
public void widgetSelected(SelectionEvent e){
  wsdlText.setVisible(true);
  checkImport.setVisible(true);
  createWSDL=false;
  path=wsdlText.getText();
}

Fixed version (ground truth):
@Override public void widgetSelected(SelectionEvent e){
  wsdlText.setVisible(true);
  checkImport.setVisible(true);
  createWSDL=false;
  path=wsdlText.getText();
}
Program: 141835
Project: 141835
Buggy source:
@Override public boolean performCancel(){
  ProcessorUtilities.resetExportConfig();
  RepositoryManager.refreshCreatedNode(ERepositoryObjectType.PROCESS);
  selection=null;
  mainPage=null;
  return true;
}

Fixed version (ground truth):
@Override public boolean performCancel(){
  ProcessorUtilities.resetExportConfig();
  selection=null;
  mainPage=null;
  return true;
}
Program: 141836
Project: 141836
Buggy source:
public void addPages(){
  super.addPages();
  mainPage=new ServiceExportWSWizardPage(selection);
  addPage((IWizardPage)mainPage);
}

Fixed version (ground truth):
@Override public void addPages(){
  super.addPages();
  mainPage=new ServiceExportWSWizardPage(selection);
  addPage(mainPage);
}
Program: 141837
Project: 141837
Buggy source:
public boolean performFinish(){
  try {
    @SuppressWarnings("String_Node_Str") List<RepositoryNode> nodes=selection.toList();
    for (    RepositoryNode node : nodes) {
      new ExportServiceAction(node,mainPage.getDestinationValue()).runInWorkspace(null);
    }
    mainPage.finish();
  }
 catch (  CoreException e) {
    log.error(e);
    return false;
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean performFinish(){
  try {
    @SuppressWarnings("String_Node_Str") List<RepositoryNode> nodes=selection.toList();
    for (    RepositoryNode node : nodes) {
      new ExportServiceAction(node,mainPage.getDestinationValue()).runInWorkspace(null);
    }
    mainPage.finish();
  }
 catch (  CoreException e) {
    log.error(e);
    return false;
  }
  return true;
}
Program: 141838
Project: 141838
Buggy source:
private void repositoryChange(RepositoryNode repNode,INode node){
  IElementParameter param=node.getElementParameterFromField(EParameterFieldType.PROPERTY_TYPE);
  ConnectionItem connectionItem=(ConnectionItem)repNode.getObject().getProperty().getItem();
  if (param != null) {
    param.getChildParameters().get(EParameterName.PROPERTY_TYPE.getName()).setValue(EmfComponent.REPOSITORY);
    param.getChildParameters().get(EParameterName.REPOSITORY_PROPERTY_TYPE.getName()).setValue("String_Node_Str");
    String serviceId=connectionItem.getProperty().getId();
    String portId=((PortRepositoryObject)repNode.getParent().getObject()).getId();
    String operationId=((OperationRepositoryObject)repNode.getObject()).getId();
    ChangeValuesFromRepository command2=new ChangeValuesFromRepository(node,null,param.getName() + "String_Node_Str" + EParameterName.PROPERTY_TYPE.getName(),"String_Node_Str");
    command2.execute();
  }
}

Fixed version (ground truth):
private void repositoryChange(RepositoryNode repNode,INode node){
  IElementParameter param=node.getElementParameterFromField(EParameterFieldType.PROPERTY_TYPE);
  ConnectionItem connectionItem=(ConnectionItem)repNode.getObject().getProperty().getItem();
  if (param != null) {
    param.getChildParameters().get(EParameterName.PROPERTY_TYPE.getName()).setValue(EmfComponent.REPOSITORY);
    param.getChildParameters().get(EParameterName.REPOSITORY_PROPERTY_TYPE.getName()).setValue("String_Node_Str");
    connectionItem.getProperty().getId();
    ((PortRepositoryObject)repNode.getParent().getObject()).getId();
    ((OperationRepositoryObject)repNode.getObject()).getId();
    ChangeValuesFromRepository command2=new ChangeValuesFromRepository(node,null,param.getName() + "String_Node_Str" + EParameterName.PROPERTY_TYPE.getName(),"String_Node_Str");
    command2.execute();
  }
}
Program: 141840
Project: 141840
Buggy source:
public void deleteOldRelation(String jobID){
  boolean flag=false;
  boolean portBreak=false;
  boolean serviceBreak=false;
  IProxyRepositoryFactory factory=ProxyRepositoryFactory.getInstance();
  try {
    List<IRepositoryViewObject> allService=factory.getAll(ERepositoryObjectType.SERVICESOPERATION);
    for (    IRepositoryViewObject viewObject : allService) {
      ServiceItem serviceItem=(ServiceItem)viewObject.getProperty().getItem();
      ServiceConnection serviceConnection=(ServiceConnection)serviceItem.getConnection();
      List<ServicePort> ports=serviceConnection.getServicePort();
      for (      ServicePort port : ports) {
        List<ServiceOperation> operations=port.getServiceOperation();
        for (        ServiceOperation operation : operations) {
          String referenceJobId=operation.getReferenceJobId();
          if (referenceJobId != null && !referenceJobId.equals("String_Node_Str")) {
            if (referenceJobId.equals(jobID)) {
              operation.setLabel(operation.getName());
              operation.setReferenceJobId(null);
              flag=true;
              portBreak=true;
              break;
            }
          }
        }
        if (portBreak) {
          serviceBreak=true;
          break;
        }
      }
      if (serviceBreak) {
        factory.save(serviceItem,null);
        break;
      }
    }
  }
 catch (  PersistenceException e) {
    e.printStackTrace();
  }
  RepositoryManager.refresh(ESBRepositoryNodeType.SERVICES);
}

Fixed version (ground truth):
public void deleteOldRelation(String jobID){
  boolean portBreak=false;
  boolean serviceBreak=false;
  IProxyRepositoryFactory factory=ProxyRepositoryFactory.getInstance();
  try {
    List<IRepositoryViewObject> allService=factory.getAll(ERepositoryObjectType.SERVICESOPERATION);
    for (    IRepositoryViewObject viewObject : allService) {
      ServiceItem serviceItem=(ServiceItem)viewObject.getProperty().getItem();
      ServiceConnection serviceConnection=(ServiceConnection)serviceItem.getConnection();
      List<ServicePort> ports=serviceConnection.getServicePort();
      for (      ServicePort port : ports) {
        List<ServiceOperation> operations=port.getServiceOperation();
        for (        ServiceOperation operation : operations) {
          String referenceJobId=operation.getReferenceJobId();
          if (referenceJobId != null && !referenceJobId.equals("String_Node_Str")) {
            if (referenceJobId.equals(jobID)) {
              operation.setLabel(operation.getName());
              operation.setReferenceJobId(null);
              portBreak=true;
              break;
            }
          }
        }
        if (portBreak) {
          serviceBreak=true;
          break;
        }
      }
      if (serviceBreak) {
        factory.save(serviceItem,null);
        break;
      }
    }
  }
 catch (  PersistenceException e) {
    e.printStackTrace();
  }
  RepositoryManager.refresh(ESBRepositoryNodeType.SERVICES);
}