removes the non-default replicas from the passed regions collection concode_field_sep boolean DEFAULT_REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH concode_elem_sep String REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY concode_elem_sep int DEFAULT_REPLICA_ID concode_field_sep int compareRegionInfosWithoutReplicaId concode_elem_sep HRegionInfo getRegionInfoForReplica concode_elem_sep HRegionInfo getRegionInfoForDefaultReplica concode_elem_sep boolean isReplicasForSameRegion concode_elem_sep boolean isDefaultReplica concode_elem_sep boolean isDefaultReplica
void function ( Collection < HRegionInfo > arg0 ) { Iterator < HRegionInfo > loc0 = arg0 . loc0 ( ) ; while ( loc0 . hasNext ( ) ) { HRegionInfo loc1 = loc0 . next ( ) ; if ( ! RegionReplicaUtil . isDefaultReplica ( loc1 ) ) { loc0 . remove ( ) ; } } }