Program: 138514
Project: 138514
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.METADATA_CONNECTIONS);
      if (folder.isDeleted()) {
        continue;
      }
      DBConnectionSubFolderRepNode childNodeFolder=new DBConnectionSubFolderRepNode(folder,this,ENodeType.SIMPLE_FOLDER);
      childNodeFolder.setProperties(EProperties.LABEL,ERepositoryObjectType.METADATA_CONNECTIONS);
      childNodeFolder.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.METADATA_CONNECTIONS);
      super.getChildren().add(childNodeFolder);
    }
    for (    IRepositoryViewObject viewObject : tdqViewObjects.getMembers()) {
      if (!viewObject.isDeleted()) {
        DBConnectionRepNode repNode=new DBConnectionRepNode(viewObject,this,ENodeType.REPOSITORY_ELEMENT);
        repNode.setProperties(EProperties.LABEL,ERepositoryObjectType.METADATA_CONNECTIONS);
        repNode.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.METADATA_CONNECTIONS);
        viewObject.setRepositoryNode(repNode);
        super.getChildren().add(repNode);
      }
    }
  }
 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.METADATA_CONNECTIONS);
      if (!withDeleted && folder.isDeleted()) {
        continue;
      }
      DBConnectionSubFolderRepNode childNodeFolder=new DBConnectionSubFolderRepNode(folder,this,ENodeType.SIMPLE_FOLDER);
      childNodeFolder.setProperties(EProperties.LABEL,ERepositoryObjectType.METADATA_CONNECTIONS);
      childNodeFolder.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.METADATA_CONNECTIONS);
      super.getChildren().add(childNodeFolder);
    }
    for (    IRepositoryViewObject viewObject : tdqViewObjects.getMembers()) {
      if (!withDeleted && viewObject.isDeleted()) {
        continue;
      }
      DBConnectionRepNode repNode=new DBConnectionRepNode(viewObject,this,ENodeType.REPOSITORY_ELEMENT);
      repNode.setProperties(EProperties.LABEL,ERepositoryObjectType.METADATA_CONNECTIONS);
      repNode.setProperties(EProperties.CONTENT_TYPE,ERepositoryObjectType.METADATA_CONNECTIONS);
      viewObject.setRepositoryNode(repNode);
      super.getChildren().add(repNode);
    }
  }
 catch (  PersistenceException e) {
    log.error(e,e);
  }
  return super.getChildren();
}