Program: 128115
Project: 128115
Buggy source:
@Override public List<IRepositoryViewObject> getRecycleBinItems(Project project,boolean... options) throws PersistenceException {
  ERepositoryObjectType types[]={ERepositoryObjectType.DOCUMENTATION,ERepositoryObjectType.METADATA_CONNECTIONS,ERepositoryObjectType.METADATA_SAPCONNECTIONS,ERepositoryObjectType.SQLPATTERNS,ERepositoryObjectType.METADATA_FILE_DELIMITED,ERepositoryObjectType.METADATA_FILE_POSITIONAL,ERepositoryObjectType.PROCESS,ERepositoryObjectType.CONTEXT,ERepositoryObjectType.SNIPPETS,ERepositoryObjectType.ROUTINES,ERepositoryObjectType.BUSINESS_PROCESS,ERepositoryObjectType.METADATA_FILE_REGEXP,ERepositoryObjectType.METADATA_FILE_XML,ERepositoryObjectType.METADATA_FILE_LDIF,ERepositoryObjectType.METADATA_FILE_EXCEL,ERepositoryObjectType.METADATA_LDAP_SCHEMA,ERepositoryObjectType.METADATA_GENERIC_SCHEMA,ERepositoryObjectType.METADATA_WSDL_SCHEMA,ERepositoryObjectType.METADATA_SALESFORCE_SCHEMA,ERepositoryObjectType.JOBLET,ERepositoryObjectType.METADATA_FILE_EBCDIC,ERepositoryObjectType.METADATA_FILE_RULES,ERepositoryObjectType.METADATA_FILE_HL7,ERepositoryObjectType.METADATA_FILE_FTP,ERepositoryObjectType.METADATA_FILE_BRMS,ERepositoryObjectType.METADATA_MDMCONNECTION,ERepositoryObjectType.METADATA_HEADER_FOOTER,ERepositoryObjectType.JOB_SCRIPT};
  List<IRepositoryViewObject> deletedItems=new ArrayList<IRepositoryViewObject>();
  for (  ERepositoryObjectType type : types) {
    RootContainer<String,IRepositoryViewObject> container=getObjectFromFolder(project,type,true,options);
    List<IRepositoryViewObject> repositoryObjects=container.getAbsoluteMembers().objects();
    for (    IRepositoryViewObject object : repositoryObjects) {
      if (object.isDeleted()) {
        deletedItems.add(object);
      }
    }
  }
  return deletedItems;
}

Fixed version (ground truth):
@Override public List<IRepositoryViewObject> getRecycleBinItems(Project project,boolean... options) throws PersistenceException {
  ERepositoryObjectType types[]={ERepositoryObjectType.DOCUMENTATION,ERepositoryObjectType.METADATA_CONNECTIONS,ERepositoryObjectType.METADATA_SAPCONNECTIONS,ERepositoryObjectType.SQLPATTERNS,ERepositoryObjectType.METADATA_FILE_DELIMITED,ERepositoryObjectType.METADATA_FILE_POSITIONAL,ERepositoryObjectType.PROCESS,ERepositoryObjectType.CONTEXT,ERepositoryObjectType.SNIPPETS,ERepositoryObjectType.ROUTINES,ERepositoryObjectType.BUSINESS_PROCESS,ERepositoryObjectType.METADATA_FILE_REGEXP,ERepositoryObjectType.METADATA_FILE_XML,ERepositoryObjectType.METADATA_FILE_LDIF,ERepositoryObjectType.METADATA_FILE_EXCEL,ERepositoryObjectType.METADATA_LDAP_SCHEMA,ERepositoryObjectType.METADATA_GENERIC_SCHEMA,ERepositoryObjectType.METADATA_WSDL_SCHEMA,ERepositoryObjectType.METADATA_SALESFORCE_SCHEMA,ERepositoryObjectType.JOBLET,ERepositoryObjectType.METADATA_FILE_EBCDIC,ERepositoryObjectType.METADATA_FILE_RULES,ERepositoryObjectType.METADATA_FILE_HL7,ERepositoryObjectType.METADATA_FILE_FTP,ERepositoryObjectType.METADATA_FILE_BRMS,ERepositoryObjectType.METADATA_MDMCONNECTION,ERepositoryObjectType.METADATA_HEADER_FOOTER,ERepositoryObjectType.JOB_SCRIPT};
  List<IRepositoryViewObject> deletedItems=new ArrayList<IRepositoryViewObject>();
  for (  ERepositoryObjectType type : types) {
    if (type != null) {
      RootContainer<String,IRepositoryViewObject> container=getObjectFromFolder(project,type,true,options);
      List<IRepositoryViewObject> repositoryObjects=container.getAbsoluteMembers().objects();
      for (      IRepositoryViewObject object : repositoryObjects) {
        if (object.isDeleted()) {
          deletedItems.add(object);
        }
      }
    }
  }
  return deletedItems;
}