public void update(StreamInfo streamInfo){
  if (streamInfo == currentStreamInfo) {
    set(streamInfo);
  }
}

public void update ( StreamInfo streamInfo ) { if ( streamInfo == currentStreamInfo ) { set ( streamInfo ) ; } }
updates the dialog if the given streaminfo object is the one already set , or does nothing otherwise .
