public void add(IStatus status){
  Assert.isLegal(status != null);
  IStatus[] result=new IStatus[children.length + 1];
  System.arraycopy(children,0,result,0,children.length);
  result[result.length - 1]=status;
  children=result;
  int newSev=status.getSeverity();
  if (newSev > getSeverity()) {
    setSeverity(newSev);
  }
}

public void add ( IStatus status ) { Assert . isLegal ( status != null ) ; IStatus [ ] result = new IStatus [ children . length + 1 ] ; System . arraycopy ( children , 0 , result , 0 , children . length ) ; result [ result . length - 1 ] = status ; children = result ; int newSev = status . getSeverity ( ) ; if ( newSev > getSeverity ( ) ) { setSeverity ( newSev ) ; } }
adds the given status to this multi - status .
