nus-yam/ex-repair huggingface dataset:
Program: 120949
Project: 120949
Buggy source:
/** 
 * DOC hcyi Comment method "checkHasMultiPrejobOrPostJobComponents".
 */
private void checkHasMultiPrejobOrPostJobComponents(){
  if (PluginChecker.isJobLetPluginLoaded()) {
    IJobletProviderService jobletService=(IJobletProviderService)GlobalServiceRegister.getDefault().getService(IJobletProviderService.class);
    if (jobletService != null) {
      if (jobletService.isJobletComponent(this)) {
        Map<String,INode> multiNodes=new HashMap<String,INode>();
        for (        INode node : process.getGeneratingNodes()) {
          if (("String_Node_Str").equals(node.getUniqueName())) {
            continue;
          }
          String componentName=node.getComponent().getName();
          if (componentName != null && componentName.equals(TPREJOB_STR)) {
            if (!multiNodes.containsKey(TPREJOB_STR)) {
              multiNodes.put(TPREJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPREJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
          if (componentName != null && componentName.equals(TPOSTJOB_STR)) {
            if (!multiNodes.containsKey(TPOSTJOB_STR)) {
              multiNodes.put(TPOSTJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPOSTJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
        }
      }
    }
  }
}

Fixed version (ground truth):
/** 
 * DOC hcyi Comment method "checkHasMultiPrejobOrPostJobComponents".
 */
private void checkHasMultiPrejobOrPostJobComponents(){
  if (PluginChecker.isJobLetPluginLoaded()) {
    IJobletProviderService jobletService=(IJobletProviderService)GlobalServiceRegister.getDefault().getService(IJobletProviderService.class);
    if (jobletService != null) {
      if (jobletService.isJobletComponent(this)) {
        Map<String,INode> multiNodes=new HashMap<String,INode>();
        for (        INode node : jobletService.getGraphNodesForJoblet(this)) {
          if (("String_Node_Str").equals(node.getUniqueName())) {
            continue;
          }
          String componentName=node.getComponent().getName();
          if (componentName != null && componentName.equals(TPREJOB_STR)) {
            if (!multiNodes.containsKey(TPREJOB_STR)) {
              multiNodes.put(TPREJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPREJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
          if (componentName != null && componentName.equals(TPOSTJOB_STR)) {
            if (!multiNodes.containsKey(TPOSTJOB_STR)) {
              multiNodes.put(TPOSTJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPOSTJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
        }
      }
    }
  }
}
Program: 120952
Project: 120952
Buggy source:
private void createQuery(RepositoryNode queriesConnectionNode,IRepositoryViewObject repObj,QueriesConnection queriesConnection){
  displayQueries.clear();
  for (Iterator iter=queriesConnection.getQuery().iterator(); iter.hasNext(); ) {
    Query query=(Query)iter.next();
    QueryRepositoryObject repositoryObject=new QueryRepositoryObject(repObj,query);
    repositoryObject.setImage(IMAGES_SQL_EDITOR_ICON);
    repositoryObject.setSourceName(query.getLabel());
    RepositoryNode node=new RepositoryNodeExt(repositoryObject,queriesConnectionNode,ENodeType.REPOSITORY_ELEMENT);
    node.setProperties(EProperties.CONTENT_TYPE,RepositoryNodeType.QUERY);
    queriesConnectionNode.getChildren().add(node);
    if (connectionParameters.getQueryObject() != null && query.getLabel().equals(connectionParameters.getQueryObject().getLabel())) {
      this.selectedExtReposiotryNode=node;
    }
    displayQueries.add(query);
  }
}

Fixed version (ground truth):
private void createQuery(RepositoryNode queriesConnectionNode,IRepositoryViewObject repObj,QueriesConnection queriesConnection){
  displayQueries.clear();
  for (Iterator iter=queriesConnection.getQuery().iterator(); iter.hasNext(); ) {
    Query query=(Query)iter.next();
    boolean isDelete=SubItemHelper.isDeleted(query);
    boolean isReadOnly=connectionParameters.isNodeReadOnly();
    if (isDelete && !isReadOnly) {
      continue;
    }
    QueryRepositoryObject repositoryObject=new QueryRepositoryObject(repObj,query);
    repositoryObject.setImage(IMAGES_SQL_EDITOR_ICON);
    repositoryObject.setSourceName(query.getLabel());
    RepositoryNode node=new RepositoryNodeExt(repositoryObject,queriesConnectionNode,ENodeType.REPOSITORY_ELEMENT);
    node.setProperties(EProperties.CONTENT_TYPE,RepositoryNodeType.QUERY);
    queriesConnectionNode.getChildren().add(node);
    if (connectionParameters.getQueryObject() != null && query.getLabel().equals(connectionParameters.getQueryObject().getLabel())) {
      this.selectedExtReposiotryNode=node;
    }
    displayQueries.add(query);
  }
}
Program: 120953
Project: 120953
Buggy source:
/** 
 * method "deleteQueries" use delete Queries.
 * @param repositoryNode databaseConnection's RepositoryNode
 * @param queries need to deleted Queries
 */
@SuppressWarnings("String_Node_Str") public void deleteQueries(RepositoryNode repositoryNode,List<Query> queries){
  DatabaseConnectionItem item=getItem(repositoryNode);
  DatabaseConnection connection=(DatabaseConnection)item.getConnection();
  QueriesConnection queriesConnection=connection.getQueries();
  if (queriesConnection != null) {
    List<Query> qs=queriesConnection.getQuery();
    List<Query> qs2=new ArrayList<Query>();
    qs2.clear();
    for (    Query query : qs) {
      boolean flag=true;
      for (      Query q : queries) {
        if (query.getLabel().equals(q.getLabel())) {
          flag=false;
        }
      }
      if (flag) {
        qs2.add(query);
      }
    }
    queriesConnection.getQuery().clear();
    queriesConnection.getQuery().addAll(qs2);
  }
  deleteEMFQueries(repositoryNode.getObject().getId(),queries);
}

Fixed version (ground truth):
/** 
 * method "deleteQueries" use delete Queries.
 * @param repositoryNode databaseConnection's RepositoryNode
 * @param queries need to deleted Queries
 */
public void deleteQueries(RepositoryNode repositoryNode,List<Query> queries){
  DatabaseConnectionItem item=getEMFItem(repositoryNode.getObject().getId());
  for (  Query query : queries) {
    SubItemHelper.setDeleted(query,true);
  }
  saveMetaData(item);
}
Program: 120955
Project: 120955
Buggy source:
public String[] getSurrogateCreationTypeNames(){
  List<String> allTypeNames=new ArrayList<String>();
  IElementParameter param=getComponent().getElementParameter(EParameterName.SK_CREATION.getName());
  for (  SurrogateCreationType type : SurrogateCreationType.values()) {
    if (param != null) {
      if (ArrayUtils.contains(param.getListItemsDisplayCodeName(),type.name())) {
        allTypeNames.add(type.getName());
      }
    }
 else     allTypeNames.add(type.getName());
  }
  return allTypeNames.toArray(new String[0]);
}

Fixed version (ground truth):
public String[] getSurrogateCreationTypeNames(){
  List<String> allTypeNames=new ArrayList<String>();
  IElementParameter param=getComponent().getElementParameter(EParameterName.SK_CREATION.getName());
  for (  SurrogateCreationType type : SurrogateCreationType.values()) {
    if (param != null) {
      if (ArrayUtils.contains(param.getListItemsDisplayCodeName(),type.name())) {
        allTypeNames.add(type.getName());
      }
    }
 else {
      allTypeNames.add(type.getName());
    }
  }
  return allTypeNames.toArray(new String[0]);
}
Program: 120959
Project: 120959
Buggy source:
public String[] getSurrogateCreationTypeNames(){
  List<String> allTypeNames=new ArrayList<String>();
  IElementParameter param=getComponent().getElementParameter(EParameterName.SK_CREATION.getName());
  for (  SurrogateCreationType type : SurrogateCreationType.values()) {
    if (param != null) {
      if (ArrayUtils.contains(param.getListItemsDisplayCodeName(),type.name())) {
        allTypeNames.add(type.getName());
      }
    }
 else     allTypeNames.add(type.getName());
  }
  return allTypeNames.toArray(new String[0]);
}

Fixed version (ground truth):
public String[] getSurrogateCreationTypeNames(){
  List<String> allTypeNames=new ArrayList<String>();
  IElementParameter param=getComponent().getElementParameter(EParameterName.SK_CREATION.getName());
  for (  SurrogateCreationType type : SurrogateCreationType.values()) {
    if (param != null) {
      if (ArrayUtils.contains(param.getListItemsDisplayCodeName(),type.name())) {
        allTypeNames.add(type.getName());
      }
    }
 else {
      allTypeNames.add(type.getName());
    }
  }
  return allTypeNames.toArray(new String[0]);
}
Program: 120962
Project: 120962
Buggy source:
/** 
 * Comment method "createContent".
 * @param child
 */
private void createContent(Composite mainComposite){
  header=new HeaderComposite(mainComposite,SWT.NONE);
  if (this.foxManager.isNoLoopInComponent()) {
    header.updateStatus(Messages.getString("String_Node_Str"));
  }
  xmlToSchemaSash=new SashForm(mainComposite,SWT.HORIZONTAL | SWT.SMOOTH);
  xmlToSchemaSash.setLayoutData(new GridData(GridData.FILL_BOTH));
  xmlToSchemaSash.setBackgroundMode(SWT.INHERIT_FORCE);
  canModify=externalNode.getProcess().isReadOnly();
  if (externalNode.getOriginalNode().getJobletNode() != null) {
    canModify=externalNode.getOriginalNode().isReadOnly();
  }
  IElementParameter elem=externalNode.getElementParameter("String_Node_Str");
  if (elem != null) {
    String value=(String)elem.getValue();
    if (value != null && value.equals("String_Node_Str")) {
      isRepository=true;
    }
  }
  addSchemaViewer(xmlToSchemaSash,300,110);
  addXMLViewer(xmlToSchemaSash,400,110);
  xmlToSchemaSash.setWeights(new int[]{40,60});
  linker=new Schema2XMLLinker(this.xmlToSchemaSash);
  linker.init(schemaViewer.getTable(),xmlViewer);
  linker.setManager(foxManager);
  initSchemaTable();
  new FooterComposite(mainComposite,SWT.NONE,foxManager);
  Tree xmlTree=xmlViewer.getTree();
  if (xmlTree.getItems().length > 0) {
    TreeItem root=xmlTree.getItem(0);
    TableItem[] tableItems=schemaViewer.getTable().getItems();
    initLinker(root,tableItems);
  }
}

Fixed version (ground truth):
/** 
 * Comment method "createContent".
 * @param child
 */
private void createContent(Composite mainComposite){
  header=new HeaderComposite(mainComposite,SWT.NONE);
  if (this.foxManager.isNoLoopInComponent()) {
    header.updateStatus(Messages.getString("String_Node_Str"));
  }
  xmlToSchemaSash=new SashForm(mainComposite,SWT.HORIZONTAL | SWT.SMOOTH);
  xmlToSchemaSash.setLayoutData(new GridData(GridData.FILL_BOTH));
  xmlToSchemaSash.setBackgroundMode(SWT.INHERIT_FORCE);
  canModify=externalNode.getProcess().isReadOnly();
  if (externalNode.getOriginalNode().getJobletNode() != null) {
    canModify=externalNode.getOriginalNode().isReadOnly();
  }
  IElementParameter elem=externalNode.getElementParameter("String_Node_Str");
  if (elem != null) {
    String value=(String)elem.getValue();
    if (value != null && value.equals("String_Node_Str")) {
      isRepository=true;
    }
  }
  addSchemaViewer(xmlToSchemaSash,300,110);
  addXMLViewer(xmlToSchemaSash,400,110);
  xmlToSchemaSash.setWeights(new int[]{40,60});
  linker=new Schema2XMLLinker(this.xmlToSchemaSash);
  linker.init(schemaViewer.getTable(),xmlViewer);
  linker.setManager(foxManager);
  initSchemaTable();
  footerComp=new FooterComposite(mainComposite,SWT.NONE,foxManager);
  Tree xmlTree=xmlViewer.getTree();
  if (xmlTree.getItems().length > 0) {
    TreeItem root=xmlTree.getItem(0);
    TableItem[] tableItems=schemaViewer.getTable().getItems();
    initLinker(root,tableItems);
  }
}
Program: 120963
Project: 120963
Buggy source:
private void addSchemaViewer(final Composite mainComposite,final int width,final int height){
  final Group group=Form.createGroup(mainComposite,1,Messages.getString("String_Node_Str"),height);
  createCombo(group);
  schemaViewer=new TableViewer(group);
  SchemaTableViewerProvider provider=new SchemaTableViewerProvider();
  schemaViewer.setContentProvider(provider);
  schemaViewer.setLabelProvider(provider);
  GridData data2=new GridData(GridData.FILL_BOTH);
  Table table=schemaViewer.getTable();
  if (canModify || isRepository) {
    table.setEnabled(false);
  }
  table.setHeaderVisible(true);
  TableColumn column1=new TableColumn(table,SWT.LEFT);
  column1.setText(Messages.getString("String_Node_Str"));
  column1.setWidth(100);
  table.setLayoutData(data2);
}

Fixed version (ground truth):
private void addSchemaViewer(final Composite mainComposite,final int width,final int height){
  final Group group=Form.createGroup(mainComposite,1,Messages.getString("String_Node_Str"),height);
  createCombo(group);
  schemaViewer=new TableViewer(group);
  SchemaTableViewerProvider provider=new SchemaTableViewerProvider();
  schemaViewer.setContentProvider(provider);
  schemaViewer.setLabelProvider(provider);
  GridData data2=new GridData(GridData.FILL_BOTH);
  Table table=schemaViewer.getTable();
  if (canModify || isRepository) {
    table.setEnabled(false);
  }
  table.setHeaderVisible(true);
  TableColumn column1=new TableColumn(table,SWT.LEFT);
  column1.setText(Messages.getString("String_Node_Str"));
  column1.setWidth(100);
  table.setLayoutData(data2);
  table.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (footerComp != null) {
        footerComp.isActivateBtn(false);
      }
    }
  }
);
}
Program: 120966
Project: 120966
Buggy source:
/** 
 * Comment method "createContent".
 * @param child
 */
private void createContent(Composite mainComposite){
  header=new HeaderComposite(mainComposite,SWT.NONE);
  if (this.foxManager.isNoLoopInComponent()) {
    header.updateStatus(Messages.getString("String_Node_Str"));
  }
  xmlToSchemaSash=new SashForm(mainComposite,SWT.HORIZONTAL | SWT.SMOOTH);
  xmlToSchemaSash.setLayoutData(new GridData(GridData.FILL_BOTH));
  xmlToSchemaSash.setBackgroundMode(SWT.INHERIT_FORCE);
  canModify=externalNode.getProcess().isReadOnly();
  if (externalNode.getOriginalNode().getJobletNode() != null) {
    canModify=externalNode.getOriginalNode().isReadOnly();
  }
  IElementParameter elem=externalNode.getElementParameter("String_Node_Str");
  if (elem != null) {
    String value=(String)elem.getValue();
    if (value != null && value.equals("String_Node_Str")) {
      isRepository=true;
    }
  }
  addSchemaViewer(xmlToSchemaSash,300,110);
  addXMLViewer(xmlToSchemaSash,400,110);
  xmlToSchemaSash.setWeights(new int[]{40,60});
  linker=new Schema2XMLLinker(this.xmlToSchemaSash);
  linker.init(schemaViewer.getTable(),xmlViewer);
  linker.setManager(foxManager);
  initSchemaTable();
  new FooterComposite(mainComposite,SWT.NONE,foxManager);
  xmlViewer.expandToLevel(3);
  linker.createLinks();
}

Fixed version (ground truth):
/** 
 * Comment method "createContent".
 * @param child
 */
private void createContent(Composite mainComposite){
  header=new HeaderComposite(mainComposite,SWT.NONE);
  if (this.foxManager.isNoLoopInComponent()) {
    header.updateStatus(Messages.getString("String_Node_Str"));
  }
  xmlToSchemaSash=new SashForm(mainComposite,SWT.HORIZONTAL | SWT.SMOOTH);
  xmlToSchemaSash.setLayoutData(new GridData(GridData.FILL_BOTH));
  xmlToSchemaSash.setBackgroundMode(SWT.INHERIT_FORCE);
  canModify=externalNode.getProcess().isReadOnly();
  if (externalNode.getOriginalNode().getJobletNode() != null) {
    canModify=externalNode.getOriginalNode().isReadOnly();
  }
  IElementParameter elem=externalNode.getElementParameter("String_Node_Str");
  if (elem != null) {
    String value=(String)elem.getValue();
    if (value != null && value.equals("String_Node_Str")) {
      isRepository=true;
    }
  }
  addSchemaViewer(xmlToSchemaSash,300,110);
  addXMLViewer(xmlToSchemaSash,400,110);
  xmlToSchemaSash.setWeights(new int[]{40,60});
  linker=new Schema2XMLLinker(this.xmlToSchemaSash);
  linker.init(schemaViewer.getTable(),xmlViewer);
  linker.setManager(foxManager);
  initSchemaTable();
  footerComp=new FooterComposite(mainComposite,SWT.NONE,foxManager);
  xmlViewer.expandToLevel(3);
  linker.createLinks();
}
Program: 120967
Project: 120967
Buggy source:
private void addSchemaViewer(final Composite mainComposite,final int width,final int height){
  final Group group=Form.createGroup(mainComposite,1,Messages.getString("String_Node_Str"),height);
  createCombo(group);
  schemaViewer=new TableViewer(group);
  SchemaTableViewerProvider provider=new SchemaTableViewerProvider();
  schemaViewer.setContentProvider(provider);
  schemaViewer.setLabelProvider(provider);
  GridData data2=new GridData(GridData.FILL_BOTH);
  Table table=schemaViewer.getTable();
  if (canModify || isRepository) {
    table.setEnabled(false);
  }
  table.setHeaderVisible(true);
  TableColumn column1=new TableColumn(table,SWT.LEFT);
  column1.setText(Messages.getString("String_Node_Str"));
  column1.setWidth(100);
  table.setLayoutData(data2);
}

Fixed version (ground truth):
private void addSchemaViewer(final Composite mainComposite,final int width,final int height){
  final Group group=Form.createGroup(mainComposite,1,Messages.getString("String_Node_Str"),height);
  createCombo(group);
  schemaViewer=new TableViewer(group);
  SchemaTableViewerProvider provider=new SchemaTableViewerProvider();
  schemaViewer.setContentProvider(provider);
  schemaViewer.setLabelProvider(provider);
  GridData data2=new GridData(GridData.FILL_BOTH);
  Table table=schemaViewer.getTable();
  if (canModify || isRepository) {
    table.setEnabled(false);
  }
  table.setHeaderVisible(true);
  TableColumn column1=new TableColumn(table,SWT.LEFT);
  column1.setText(Messages.getString("String_Node_Str"));
  column1.setWidth(100);
  table.setLayoutData(data2);
  table.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (footerComp != null) {
        footerComp.isActivateBtn(false);
      }
    }
  }
);
}
Program: 120969
Project: 120969
Buggy source:
/** 
 * Build Root Nodes List.
 * @return
 */
@SuppressWarnings("String_Node_Str") public void buildRootNodes(IProcess process){
  rootNodes=new ArrayList<INode>();
  List<INode> preJobsNode=(List<INode>)process.getNodesOfType("String_Node_Str");
  for (  INode node : preJobsNode) {
    if (node.isActivate()) {
      rootNodes.add(node);
    }
  }
  for (  INode node : nodes) {
    String componentName=node.getComponent().getName();
    if ((node.isStart()) && (node.isActivate()) && (!componentName.equals("String_Node_Str"))&& (!componentName.equals("String_Node_Str"))) {
      rootNodes.add(node);
    }
  }
  List<INode> postJobsNode=(List<INode>)process.getNodesOfType("String_Node_Str");
  for (  INode node : postJobsNode) {
    if (node.isActivate()) {
      rootNodes.add(node);
    }
  }
}

Fixed version (ground truth):
/** 
 * Build Root Nodes List.
 * @return
 */
@SuppressWarnings("String_Node_Str") public void buildRootNodes(IProcess process){
  rootNodes=new ArrayList<INode>();
  List<INode> preJobsNode=(List<INode>)process.getNodesOfType("String_Node_Str");
  for (  INode node : preJobsNode) {
    if (node.isActivate()) {
      rootNodes.add(node);
    }
  }
  for (  INode node : nodes) {
    String componentName=node.getComponent().getName();
    if ((node.isStart()) && (node.isActivate()) && node.isSubtreeStart()&& (!componentName.equals("String_Node_Str"))&& (!componentName.equals("String_Node_Str"))) {
      rootNodes.add(node);
    }
  }
  List<INode> postJobsNode=(List<INode>)process.getNodesOfType("String_Node_Str");
  for (  INode node : postJobsNode) {
    if (node.isActivate()) {
      rootNodes.add(node);
    }
  }
}
Program: 120971
Project: 120971
Buggy source:
/** 
 * DOC hcyi Comment method "checkHasMultiPrejobOrPostJobComponents".
 */
private void checkHasMultiPrejobOrPostJobComponents(){
  if (PluginChecker.isJobLetPluginLoaded()) {
    IJobletProviderService jobletService=(IJobletProviderService)GlobalServiceRegister.getDefault().getService(IJobletProviderService.class);
    if (jobletService != null) {
      if (jobletService.isJobletComponent(this)) {
        Map<String,INode> multiNodes=new HashMap<String,INode>();
        for (        INode node : process.getGeneratingNodes()) {
          if (("String_Node_Str").equals(node.getUniqueName())) {
            continue;
          }
          String componentName=node.getComponent().getName();
          if (componentName != null && componentName.equals(TPREJOB_STR)) {
            if (!multiNodes.containsKey(TPREJOB_STR)) {
              multiNodes.put(TPREJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPREJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
          if (componentName != null && componentName.equals(TPOSTJOB_STR)) {
            if (!multiNodes.containsKey(TPOSTJOB_STR)) {
              multiNodes.put(TPOSTJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPOSTJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
        }
      }
    }
  }
}

Fixed version (ground truth):
/** 
 * DOC hcyi Comment method "checkHasMultiPrejobOrPostJobComponents".
 */
private void checkHasMultiPrejobOrPostJobComponents(){
  if (PluginChecker.isJobLetPluginLoaded()) {
    IJobletProviderService jobletService=(IJobletProviderService)GlobalServiceRegister.getDefault().getService(IJobletProviderService.class);
    if (jobletService != null) {
      if (jobletService.isJobletComponent(this)) {
        Map<String,INode> multiNodes=new HashMap<String,INode>();
        for (        INode node : jobletService.getGraphNodesForJoblet(this)) {
          if (("String_Node_Str").equals(node.getUniqueName())) {
            continue;
          }
          String componentName=node.getComponent().getName();
          if (componentName != null && componentName.equals(TPREJOB_STR)) {
            if (!multiNodes.containsKey(TPREJOB_STR)) {
              multiNodes.put(TPREJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPREJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
          if (componentName != null && componentName.equals(TPOSTJOB_STR)) {
            if (!multiNodes.containsKey(TPOSTJOB_STR)) {
              multiNodes.put(TPOSTJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPOSTJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
        }
      }
    }
  }
}
Program: 120972
Project: 120972
Buggy source:
/** 
 * DOC hcyi Comment method "checkHasMultiPrejobOrPostJobComponents".
 */
private void checkHasMultiPrejobOrPostJobComponents(){
  if (PluginChecker.isJobLetPluginLoaded()) {
    IJobletProviderService jobletService=(IJobletProviderService)GlobalServiceRegister.getDefault().getService(IJobletProviderService.class);
    if (jobletService != null) {
      if (jobletService.isJobletComponent(this)) {
        Map<String,INode> multiNodes=new HashMap<String,INode>();
        for (        INode node : process.getGeneratingNodes()) {
          if (("String_Node_Str").equals(node.getUniqueName())) {
            continue;
          }
          String componentName=node.getComponent().getName();
          if (componentName != null && componentName.equals(TPREJOB_STR)) {
            if (!multiNodes.containsKey(TPREJOB_STR)) {
              multiNodes.put(TPREJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPREJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
          if (componentName != null && componentName.equals(TPOSTJOB_STR)) {
            if (!multiNodes.containsKey(TPOSTJOB_STR)) {
              multiNodes.put(TPOSTJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPOSTJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
        }
      }
    }
  }
}

Fixed version (ground truth):
/** 
 * DOC hcyi Comment method "checkHasMultiPrejobOrPostJobComponents".
 */
private void checkHasMultiPrejobOrPostJobComponents(){
  if (PluginChecker.isJobLetPluginLoaded()) {
    IJobletProviderService jobletService=(IJobletProviderService)GlobalServiceRegister.getDefault().getService(IJobletProviderService.class);
    if (jobletService != null) {
      if (jobletService.isJobletComponent(this)) {
        Map<String,INode> multiNodes=new HashMap<String,INode>();
        for (        INode node : jobletService.getGraphNodesForJoblet(this)) {
          if (("String_Node_Str").equals(node.getUniqueName())) {
            continue;
          }
          String componentName=node.getComponent().getName();
          if (componentName != null && componentName.equals(TPREJOB_STR)) {
            if (!multiNodes.containsKey(TPREJOB_STR)) {
              multiNodes.put(TPREJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPREJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
          if (componentName != null && componentName.equals(TPOSTJOB_STR)) {
            if (!multiNodes.containsKey(TPOSTJOB_STR)) {
              multiNodes.put(TPOSTJOB_STR,node);
            }
 else {
              String errorMessage=Messages.getString("String_Node_Str",TPOSTJOB_STR);
              Problems.add(ProblemStatus.WARNING,this,errorMessage);
            }
          }
        }
      }
    }
  }
}
Program: 120974
Project: 120974
Buggy source:
private void createQuery(RepositoryNode queriesConnectionNode,IRepositoryViewObject repObj,QueriesConnection queriesConnection){
  displayQueries.clear();
  for (Iterator iter=queriesConnection.getQuery().iterator(); iter.hasNext(); ) {
    Query query=(Query)iter.next();
    QueryRepositoryObject repositoryObject=new QueryRepositoryObject(repObj,query);
    repositoryObject.setImage(IMAGES_SQL_EDITOR_ICON);
    repositoryObject.setSourceName(query.getLabel());
    RepositoryNode node=new RepositoryNodeExt(repositoryObject,queriesConnectionNode,ENodeType.REPOSITORY_ELEMENT);
    node.setProperties(EProperties.CONTENT_TYPE,RepositoryNodeType.QUERY);
    queriesConnectionNode.getChildren().add(node);
    if (connectionParameters.getQueryObject() != null && query.getLabel().equals(connectionParameters.getQueryObject().getLabel())) {
      this.selectedExtReposiotryNode=node;
    }
    displayQueries.add(query);
  }
}

Fixed version (ground truth):
private void createQuery(RepositoryNode queriesConnectionNode,IRepositoryViewObject repObj,QueriesConnection queriesConnection){
  displayQueries.clear();
  for (Iterator iter=queriesConnection.getQuery().iterator(); iter.hasNext(); ) {
    Query query=(Query)iter.next();
    boolean isDelete=SubItemHelper.isDeleted(query);
    boolean isReadOnly=connectionParameters.isNodeReadOnly();
    if (isDelete && !isReadOnly) {
      continue;
    }
    QueryRepositoryObject repositoryObject=new QueryRepositoryObject(repObj,query);
    repositoryObject.setImage(IMAGES_SQL_EDITOR_ICON);
    repositoryObject.setSourceName(query.getLabel());
    RepositoryNode node=new RepositoryNodeExt(repositoryObject,queriesConnectionNode,ENodeType.REPOSITORY_ELEMENT);
    node.setProperties(EProperties.CONTENT_TYPE,RepositoryNodeType.QUERY);
    queriesConnectionNode.getChildren().add(node);
    if (connectionParameters.getQueryObject() != null && query.getLabel().equals(connectionParameters.getQueryObject().getLabel())) {
      this.selectedExtReposiotryNode=node;
    }
    displayQueries.add(query);
  }
}
Program: 120975
Project: 120975
Buggy source:
/** 
 * method "deleteQueries" use delete Queries.
 * @param repositoryNode databaseConnection's RepositoryNode
 * @param queries need to deleted Queries
 */
@SuppressWarnings("String_Node_Str") public void deleteQueries(RepositoryNode repositoryNode,List<Query> queries){
  DatabaseConnectionItem item=getItem(repositoryNode);
  DatabaseConnection connection=(DatabaseConnection)item.getConnection();
  QueriesConnection queriesConnection=connection.getQueries();
  if (queriesConnection != null) {
    List<Query> qs=queriesConnection.getQuery();
    List<Query> qs2=new ArrayList<Query>();
    qs2.clear();
    for (    Query query : qs) {
      boolean flag=true;
      for (      Query q : queries) {
        if (query.getLabel().equals(q.getLabel())) {
          flag=false;
        }
      }
      if (flag) {
        qs2.add(query);
      }
    }
    queriesConnection.getQuery().clear();
    queriesConnection.getQuery().addAll(qs2);
  }
  deleteEMFQueries(repositoryNode.getObject().getId(),queries);
}

Fixed version (ground truth):
/** 
 * method "deleteQueries" use delete Queries.
 * @param repositoryNode databaseConnection's RepositoryNode
 * @param queries need to deleted Queries
 */
public void deleteQueries(RepositoryNode repositoryNode,List<Query> queries){
  DatabaseConnectionItem item=getEMFItem(repositoryNode.getObject().getId());
  for (  Query query : queries) {
    SubItemHelper.setDeleted(query,true);
  }
  saveMetaData(item);
}
Program: 120976
Project: 120976
Buggy source:
@Override public boolean canModify(Object bean,String idColumn){
  if (bean instanceof GlobalMapEntry) {
    GlobalMapEntry column=(GlobalMapEntry)bean;
    if (column.getParent() instanceof InputTable) {
      if (JOIN_MODEL_SETTING.equals(column.getName())) {
        return innerJoinCheckItemEditable;
      }
 else       if (PERSISTENCE_MODEL_SETTING.equals(column.getName())) {
        return persistentCheckEditable;
      }
    }
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean canModify(Object bean,String idColumn){
  if (bean instanceof GlobalMapEntry) {
    GlobalMapEntry column=(GlobalMapEntry)bean;
    if (column.getParent() instanceof InputTable) {
      if (JOIN_MODEL_SETTING.equals(column.getName())) {
        return true;
      }
 else       if (PERSISTENCE_MODEL_SETTING.equals(column.getName())) {
        return persistentCheckEditable;
      }
    }
  }
  return true;
}
Program: 120977
Project: 120977
Buggy source:
@Override public boolean canModify(Object bean,String idColumn){
  if (bean instanceof GlobalMapEntry) {
    GlobalMapEntry column=(GlobalMapEntry)bean;
    if (column.getParent() instanceof InputTable) {
      if (JOIN_MODEL_SETTING.equals(column.getName())) {
        return innerJoinCheckItemEditable;
      }
 else       if (PERSISTENCE_MODEL_SETTING.equals(column.getName())) {
        return persistentCheckEditable;
      }
    }
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean canModify(Object bean,String idColumn){
  if (bean instanceof GlobalMapEntry) {
    GlobalMapEntry column=(GlobalMapEntry)bean;
    if (column.getParent() instanceof InputTable) {
      if (JOIN_MODEL_SETTING.equals(column.getName())) {
        return true;
      }
 else       if (PERSISTENCE_MODEL_SETTING.equals(column.getName())) {
        return persistentCheckEditable;
      }
    }
  }
  return true;
}
Program: 120978
Project: 120978
Buggy source:
protected boolean hasDataIntoExpression(Pattern pattern,PatternMatcher matcher,String expression){
  if (expression != null) {
    if (matcher.contains(expression,pattern)) {
      return true;
    }
  }
  return false;
}

Fixed version (ground truth):
protected boolean hasDataIntoExpression(Pattern pattern,PatternMatcher matcher,String expression){
  if (expression != null) {
    if (matcher.matches(expression,pattern)) {
      return true;
    }
  }
  return false;
}
Program: 120979
Project: 120979
Buggy source:
public static boolean isUseData(final IElement element,final String name){
  if (element == null || element.getElementParameters() == null) {
    return false;
  }
  for (  IElementParameter param : element.getElementParameters()) {
    if (param.getName().equals(EParameterName.UNIQUE_NAME.getName())) {
      continue;
    }
    if (ParameterValueUtil.isUseData(param,name)) {
      return true;
    }
  }
  return false;
}

Fixed version (ground truth):
public static boolean isUseData(final IElement element,final String name){
  if (element == null || element.getElementParameters() == null) {
    return false;
  }
  for (  IElementParameter param : element.getElementParameters()) {
    if (param.getName().equals(EParameterName.UNIQUE_NAME.getName())) {
      continue;
    }
    if (param.getName().equals(EParameterName.VALUES.getName())) {
      continue;
    }
    if (param.getName().equals("String_Node_Str")) {
      continue;
    }
    if (ParameterValueUtil.isUseData(param,name)) {
      return true;
    }
  }
  return false;
}
Program: 120980
Project: 120980
Buggy source:
@Override public void resetCache(){
  componentsImageRegistry.clear();
  componentList=null;
  skeletonList=null;
  customComponentList=null;
  if (!CommonsPlugin.isHeadless()) {
    TalendEntryEditPart.resetImageCache();
  }
}

Fixed version (ground truth):
@Override public void resetCache(){
  componentList=null;
  skeletonList=null;
  customComponentList=null;
  if (!CommonsPlugin.isHeadless()) {
    TalendEntryEditPart.resetImageCache();
  }
}
Program: 120981
Project: 120981
Buggy source:
@Override public boolean canModify(Object bean,String idColumn){
  if (bean instanceof GlobalMapEntry) {
    GlobalMapEntry column=(GlobalMapEntry)bean;
    if (column.getParent() instanceof InputTable) {
      if (JOIN_MODEL_SETTING.equals(column.getName())) {
        return innerJoinCheckItemEditable;
      }
 else       if (PERSISTENCE_MODEL_SETTING.equals(column.getName())) {
        return persistentCheckEditable;
      }
    }
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean canModify(Object bean,String idColumn){
  if (bean instanceof GlobalMapEntry) {
    GlobalMapEntry column=(GlobalMapEntry)bean;
    if (column.getParent() instanceof InputTable) {
      if (JOIN_MODEL_SETTING.equals(column.getName())) {
        return true;
      }
 else       if (PERSISTENCE_MODEL_SETTING.equals(column.getName())) {
        return persistentCheckEditable;
      }
    }
  }
  return true;
}
Program: 120982
Project: 120982
Buggy source:
protected boolean hasDataIntoExpression(Pattern pattern,PatternMatcher matcher,String expression){
  if (expression != null) {
    if (matcher.contains(expression,pattern)) {
      return true;
    }
  }
  return false;
}

Fixed version (ground truth):
protected boolean hasDataIntoExpression(Pattern pattern,PatternMatcher matcher,String expression){
  if (expression != null) {
    if (matcher.matches(expression,pattern)) {
      return true;
    }
  }
  return false;
}
Program: 120983
Project: 120983
Buggy source:
public static boolean isUseData(final IElement element,final String name){
  if (element == null || element.getElementParameters() == null) {
    return false;
  }
  for (  IElementParameter param : element.getElementParameters()) {
    if (param.getName().equals(EParameterName.UNIQUE_NAME.getName())) {
      continue;
    }
    if (ParameterValueUtil.isUseData(param,name)) {
      return true;
    }
  }
  return false;
}

Fixed version (ground truth):
public static boolean isUseData(final IElement element,final String name){
  if (element == null || element.getElementParameters() == null) {
    return false;
  }
  for (  IElementParameter param : element.getElementParameters()) {
    if (param.getName().equals(EParameterName.UNIQUE_NAME.getName())) {
      continue;
    }
    if (param.getName().equals(EParameterName.VALUES.getName())) {
      continue;
    }
    if (param.getName().equals("String_Node_Str")) {
      continue;
    }
    if (ParameterValueUtil.isUseData(param,name)) {
      return true;
    }
  }
  return false;
}
Program: 120988
Project: 120988
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: 120989
Project: 120989
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: 120992
Project: 120992
Buggy source:
public String getColumnText(Object element,int columnIndex){
  DataSetRow row=(DataSetRow)element;
  Object tmp=row.getObjectValue(columnIndex);
  if (tmp != null) {
    Class clazz=tmp.getClass();
    if (pformatDates && clazz == Timestamp.class) {
      return pdateFormatter.format(new java.util.Date(((Timestamp)tmp).getTime()));
    }
    if (pformatDates && clazz == Date.class) {
      return pdateFormatter.format(new java.util.Date(((Date)tmp).getTime()));
    }
    return tmp.toString();
  }
  return "String_Node_Str";
}

Fixed version (ground truth):
public String getColumnText(Object element,int columnIndex){
  DataSetRow row=(DataSetRow)element;
  Object tmp=row.getObjectValue(columnIndex);
  if (tmp != null) {
    Class clazz=tmp.getClass();
    if (pformatDates && clazz == Date.class) {
      return pdateFormatter.format(new java.util.Date(((Date)tmp).getTime()));
    }
    return tmp.toString();
  }
  return "String_Node_Str";
}
Program: 120994
Project: 120994
Buggy source:
protected boolean hasDataIntoExpression(Pattern pattern,PatternMatcher matcher,String expression){
  if (expression != null) {
    if (matcher.contains(expression,pattern)) {
      return true;
    }
  }
  return false;
}

Fixed version (ground truth):
protected boolean hasDataIntoExpression(Pattern pattern,PatternMatcher matcher,String expression){
  if (expression != null) {
    if (matcher.matches(expression,pattern)) {
      return true;
    }
  }
  return false;
}
Program: 120995
Project: 120995
Buggy source:
public static boolean isUseData(final IElement element,final String name){
  if (element == null || element.getElementParameters() == null) {
    return false;
  }
  for (  IElementParameter param : element.getElementParameters()) {
    if (param.getName().equals(EParameterName.UNIQUE_NAME.getName())) {
      continue;
    }
    if (ParameterValueUtil.isUseData(param,name)) {
      return true;
    }
  }
  return false;
}

Fixed version (ground truth):
public static boolean isUseData(final IElement element,final String name){
  if (element == null || element.getElementParameters() == null) {
    return false;
  }
  for (  IElementParameter param : element.getElementParameters()) {
    if (param.getName().equals(EParameterName.UNIQUE_NAME.getName())) {
      continue;
    }
    if (param.getName().equals(EParameterName.VALUES.getName())) {
      continue;
    }
    if (param.getName().equals("String_Node_Str")) {
      continue;
    }
    if (ParameterValueUtil.isUseData(param,name)) {
      return true;
    }
  }
  return false;
}
Program: 120996
Project: 120996
Buggy source:
private static void copyFileL(String srcFileName,FileInputStream srcInputStream,String desFileName,boolean delSrc) throws Exception {
  File source=new File(srcFileName);
  File dest=new File(desFileName);
  FileChannel in=null, out=null;
  try {
    in=srcInputStream.getChannel();
    out=new FileOutputStream(dest).getChannel();
    long size=in.size();
    long position=0;
    final long MAP_SIZE=33525760;
    MappedByteBuffer buf=null;
    while (true) {
      if (position + MAP_SIZE >= size) {
        buf=in.map(FileChannel.MapMode.READ_ONLY,position,size - position);
        out.write(buf);
        if (delSrc) {
          clean(buf);
        }
        break;
      }
 else {
        buf=in.map(FileChannel.MapMode.READ_ONLY,position,MAP_SIZE);
        out.write(buf);
        if (delSrc) {
          clean(buf);
        }
        position+=MAP_SIZE;
      }
    }
    in.close();
    out.close();
    if (delSrc) {
      source.delete();
    }
  }
  finally {
    if (in != null) {
      in.close();
    }
    if (out != null) {
      out.close();
    }
  }
}

Fixed version (ground truth):
private static void copyFileL(String srcFileName,FileInputStream srcInputStream,String desFileName,boolean delSrc) throws Exception {
  File source=new File(srcFileName);
  File dest=new File(desFileName);
  FileChannel in=null, out=null;
  try {
    in=srcInputStream.getChannel();
    out=new FileOutputStream(dest).getChannel();
    long size=in.size();
    long position=0;
    final long MAP_SIZE=33525760;
    MappedByteBuffer buf=null;
    while (true) {
      if (position + MAP_SIZE >= size) {
        buf=in.map(FileChannel.MapMode.READ_ONLY,position,size - position);
        out.write(buf);
        clean(buf);
        break;
      }
 else {
        buf=in.map(FileChannel.MapMode.READ_ONLY,position,MAP_SIZE);
        out.write(buf);
        clean(buf);
        position+=MAP_SIZE;
      }
    }
    in.close();
    out.close();
    if (delSrc) {
      source.delete();
    }
  }
  finally {
    if (in != null) {
      in.close();
    }
    if (out != null) {
      out.close();
    }
  }
}
Program: 120997
Project: 120997
Buggy source:
private static void copyFileL(String srcFileName,FileInputStream srcInputStream,String desFileName,boolean delSrc) throws Exception {
  File source=new File(srcFileName);
  File dest=new File(desFileName);
  FileChannel in=null, out=null;
  try {
    in=srcInputStream.getChannel();
    out=new FileOutputStream(dest).getChannel();
    long size=in.size();
    long position=0;
    final long MAP_SIZE=33525760;
    MappedByteBuffer buf=null;
    while (true) {
      if (position + MAP_SIZE >= size) {
        buf=in.map(FileChannel.MapMode.READ_ONLY,position,size - position);
        out.write(buf);
        if (delSrc) {
          clean(buf);
        }
        break;
      }
 else {
        buf=in.map(FileChannel.MapMode.READ_ONLY,position,MAP_SIZE);
        out.write(buf);
        if (delSrc) {
          clean(buf);
        }
        position+=MAP_SIZE;
      }
    }
    in.close();
    out.close();
    if (delSrc) {
      source.delete();
    }
  }
  finally {
    if (in != null) {
      in.close();
    }
    if (out != null) {
      out.close();
    }
  }
}

Fixed version (ground truth):
private static void copyFileL(String srcFileName,FileInputStream srcInputStream,String desFileName,boolean delSrc) throws Exception {
  File source=new File(srcFileName);
  File dest=new File(desFileName);
  FileChannel in=null, out=null;
  try {
    in=srcInputStream.getChannel();
    out=new FileOutputStream(dest).getChannel();
    long size=in.size();
    long position=0;
    final long MAP_SIZE=33525760;
    MappedByteBuffer buf=null;
    while (true) {
      if (position + MAP_SIZE >= size) {
        buf=in.map(FileChannel.MapMode.READ_ONLY,position,size - position);
        out.write(buf);
        clean(buf);
        break;
      }
 else {
        buf=in.map(FileChannel.MapMode.READ_ONLY,position,MAP_SIZE);
        out.write(buf);
        clean(buf);
        position+=MAP_SIZE;
      }
    }
    in.close();
    out.close();
    if (delSrc) {
      source.delete();
    }
  }
  finally {
    if (in != null) {
      in.close();
    }
    if (out != null) {
      out.close();
    }
  }
}
Program: 120998
Project: 120998
Buggy source:
@Override public void setMetadataList(List<IMetadataTable> metadataTablesOut){
  boolean needUpdateMetadata=false;
  if (this.metadataListOut == null) {
    needUpdateMetadata=true;
  }
 else   if (this.metadataListOut.size() != metadataTablesOut.size()) {
    needUpdateMetadata=true;
  }
 else {
    for (    IMetadataTable metaTable : this.metadataListOut) {
      for (      IMetadataTable externalMetaTable : metadataTablesOut) {
        if (!metaTable.sameMetadataAs(externalMetaTable,IMetadataColumn.OPTIONS_NONE)) {
          needUpdateMetadata=true;
          break;
        }
      }
      if (needUpdateMetadata) {
        break;
      }
    }
  }
  if (needUpdateMetadata) {
    this.metadataListOut=metadataTablesOut;
  }
}

Fixed version (ground truth):
@Override public void setMetadataList(List<IMetadataTable> metadataTablesOut){
  boolean needUpdateMetadata=false;
  if (this.metadataListOut == null) {
    needUpdateMetadata=true;
  }
 else   if (this.metadataListOut.size() != metadataTablesOut.size()) {
    needUpdateMetadata=true;
  }
 else {
    for (    IMetadataTable metaTable : this.metadataListOut) {
      for (      IMetadataTable externalMetaTable : metadataTablesOut) {
        if (!metaTable.sameMetadataAs(externalMetaTable,IMetadataColumn.OPTIONS_NONE) || !this.sameMetadataFunctionsAs(metaTable)) {
          needUpdateMetadata=true;
          break;
        }
      }
      if (needUpdateMetadata) {
        break;
      }
    }
  }
  if (needUpdateMetadata) {
    this.metadataListOut=metadataTablesOut;
  }
}