private InvAccess findAccessByDataFormatType(List<InvAccess> accessList, DataFormatType type) {
    """
	works against the accessList instead of the dataset list, so we can remove and try again
    """
    for (InvAccess a : accessList) {
      if (type.toString().equalsIgnoreCase(a.getDataFormatType().toString()))
        return a;
    }
    return null;
  }
private InvAccess findAccessByDataFormatType(List<InvAccess> accessList, DataFormatType type) {
    for (InvAccess a : accessList) {
      if (type.toString().equalsIgnoreCase(a.getDataFormatType().toString()))
        return a;
    }
    return null;
  }
private InvAccess findAccessByDataFormatType ( List < InvAccess > accessList , DataFormatType type ) { for ( InvAccess a : accessList ) { if ( type . toString ( ) . equalsIgnoreCase ( a . getDataFormatType ( ) . 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