if (notifier != null) notifier.notifyAll();
Object o = notifier; if (o != null) synchronized(o) { o.notifyAll(); }
  public void dispatch()  {    if (catchExceptions)      try        {          runnable.run();        }      catch (Exception e)        {          exception = e;        }    else      runnable.run();    if (notifier != null)      notifier.notifyAll();  }