public void merge(RegistrySearchResponse other){
  AssertUtil.assertNotNull(other,"other");
  if (other.results != null) {
    numResults+=other.numResults;
    if (results == null) {
      results=new ArrayList<Result>();
    }
    results.addAll(other.results);
  }
}

public void merge ( RegistrySearchResponse other ) { AssertUtil . assertNotNull ( other , "other" ) ; if ( other . results != null ) { numResults += other . numResults ; if ( results == null ) { results = new ArrayList < Result > ( ) ; } results . addAll ( other . results ) ; } }
add results from another response into this one
