private Access findAccessByDataFormatType(List<Access> accessList, DataFormatType type) {
    """
	works against the accessList instead of the dataset list, so we can remove and try again
    """
    for (Access a : accessList) {
      DataFormatType has = a.getDataFormatType();
      if (has != null && type.toString().equalsIgnoreCase(has.toString()))
        return a;
    }
    return null;
  }
private Access findAccessByDataFormatType(List<Access> accessList, DataFormatType type) {
    for (Access a : accessList) {
      DataFormatType has = a.getDataFormatType();
      if (has != null && type.toString().equalsIgnoreCase(has.toString()))
        return a;
    }
    return null;
  }
private Access findAccessByDataFormatType ( List < Access > accessList , DataFormatType type ) { for ( Access a : accessList ) { DataFormatType has = a . getDataFormatType ( ) ; if ( has != null && type . toString ( ) . equalsIgnoreCase ( has . toString ( ) ) ) return a ; } return null ; }
works against the accessList instead of the dataset list, so we can remove and try again
works against the accessList instead of the dataset list so we can remove and try again