public void waitForChange () { synchronized (localLock) {
public synchronized void waitForChange () {
      public void waitForChange () {        synchronized (localLock) {          try {            localLock.wait();          }          catch (InterruptedException bla) { }        }      }