private synchronized void switchRemovedFromStore(DatapathId dpid){
  if (floodlightProvider.getRole() != HARole.STANDBY) {
    return;
  }
  IOFSwitch oldSw=syncedSwitches.remove(dpid);
  if (oldSw != null) {
    addUpdateToQueue(new SwitchUpdate(dpid,SwitchUpdateType.REMOVED));
  }
 else {
  }
}

private synchronized void switchRemovedFromStore ( DatapathId dpid ) { if ( floodlightProvider . getRole ( ) != HARole . STANDBY ) { return ; } IOFSwitch oldSw = syncedSwitches . remove ( dpid ) ; if ( oldSw != null ) { addUpdateToQueue ( new SwitchUpdate ( dpid , SwitchUpdateType . REMOVED ) ) ; } else { } }
called when we receive a store notification about a switch that has been removed from the sync store
