protected synchronized void notifyVersion(SprogVersion v){
  ver=v;
  for (  SprogVersionListener listener : getCopyOfListeners()) {
    try {
      listener.notifyVersion(ver);
      versionListeners.remove(listener);
    }
 catch (    Exception e) {
      log.warn("notify: During dispatch to " + listener + "\nException "+ e);
    }
  }
}

protected synchronized void notifyVersion ( SprogVersion v ) { ver = v ; for ( SprogVersionListener listener : getCopyOfListeners ( ) ) { try { listener . notifyVersion ( ver ) ; versionListeners . remove ( listener ) ; } catch ( Exception e ) { log . warn ( "notify: During dispatch to " + listener + "\nException " + e ) ; } } }
notify all registered listeners of the sprog version
