Program: 138513
Project: 138513
Buggy source:
@Override public List<IRepositoryNode> getChildren(){
  try {
    super.getChildren().clear();
    RootContainer<String,IRepositoryViewObject> tdqViewObjects=ProxyRepositoryFactory.getInstance().getTdqRepositoryViewObjects(getContentType(),RepositoryNodeHelper.getPath(this).toString());
    for (    Container<String,IRepositoryViewObject> container : tdqViewObjects.getSubContainer()) {
      Folder folder=new Folder((Property)container.getProperty(),ERepositoryObjectType.TDQ_ANALYSIS);
      if (folder.isDeleted()) {
        continue;
      }
      AnalysisSubFolderRepNode childNodeFolder=new AnalysisSubFolderRepNode(folder,this,ENodeType.SIMPLE_FOLDER);
      childNodeFolder.setProperties(EProperties.LABEL,ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT);
      childNodeFolder.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT);
      folder.setRepositoryNode(childNodeFolder);
      super.getChildren().add(childNodeFolder);
    }
    for (    IRepositoryViewObject viewObject : tdqViewObjects.getMembers()) {
      if (viewObject.isDeleted()) {
        continue;
      }
      AnalysisRepNode anaNode=new AnalysisRepNode(viewObject,this,ENodeType.REPOSITORY_ELEMENT);
      anaNode.setProperties(EProperties.LABEL,ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT);
      anaNode.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT);
      viewObject.setRepositoryNode(anaNode);
      super.getChildren().add(anaNode);
    }
  }
 catch (  PersistenceException e) {
    log.error(e,e);
  }
  return super.getChildren();
}

Fixed version (ground truth):
@Override public List<IRepositoryNode> getChildren(boolean withDeleted){
  try {
    super.getChildren().clear();
    RootContainer<String,IRepositoryViewObject> tdqViewObjects=ProxyRepositoryFactory.getInstance().getTdqRepositoryViewObjects(getContentType(),RepositoryNodeHelper.getPath(this).toString());
    for (    Container<String,IRepositoryViewObject> container : tdqViewObjects.getSubContainer()) {
      Folder folder=new Folder((Property)container.getProperty(),ERepositoryObjectType.TDQ_ANALYSIS);
      if (!withDeleted && folder.isDeleted()) {
        continue;
      }
      AnalysisSubFolderRepNode childNodeFolder=new AnalysisSubFolderRepNode(folder,this,ENodeType.SIMPLE_FOLDER);
      childNodeFolder.setProperties(EProperties.LABEL,ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT);
      childNodeFolder.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT);
      folder.setRepositoryNode(childNodeFolder);
      super.getChildren().add(childNodeFolder);
    }
    for (    IRepositoryViewObject viewObject : tdqViewObjects.getMembers()) {
      if (!withDeleted && viewObject.isDeleted()) {
        continue;
      }
      AnalysisRepNode anaNode=new AnalysisRepNode(viewObject,this,ENodeType.REPOSITORY_ELEMENT);
      anaNode.setProperties(EProperties.LABEL,ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT);
      anaNode.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.TDQ_ANALYSIS_ELEMENT);
      viewObject.setRepositoryNode(anaNode);
      super.getChildren().add(anaNode);
    }
  }
 catch (  PersistenceException e) {
    log.error(e,e);
  }
  return super.getChildren();
}