public void addListener(BotNameListener listener){
  if (listener != null) {
    listeners.add(listener);
  }
}

public void addListener ( BotNameListener listener ) { if ( listener != null ) { listeners . add ( listener ) ; } }
add a listener to be informed about added bot names .
