public void recalculateUpdates() {
    synchronized (ourLock) {
      for (PluginUpdatesService service : SERVICES) {
        service.runAllCallbacks(null);
      }
      if (ourPreparing) {
        resetUpdates();
      }
      else {
        calculateUpdates();
      }
    }
  }
public void recalculateUpdates()