public void aggregate(ConfigChangeResult other){
  if (other.getResultCode() != ResultCode.SUCCESS) {
    setResultCodeIfSuccess(other.getResultCode());
    messages.addAll(other.getMessages());
  }
}

public void aggregate ( ConfigChangeResult other ) { if ( other . getResultCode ( ) != ResultCode . SUCCESS ) { setResultCodeIfSuccess ( other . getResultCode ( ) ) ; messages . addAll ( other . getMessages ( ) ) ; } }
aggregates the results from the provided config change result .
