!getLocation(thisAgent).equals(source)) {
!source.equals(getLocation(thisAgent))) {
  protected void updatePersistentStats(String source) {    if (usePersistentStats()) {      if (nodeLatencyStats == null) {        initializeNodeStats();      }      if (thisAgent.equals(preferredLeader()) &&          !getLocation(thisAgent).equals(source)) {        StatsEntry se = (StatsEntry) runStats.get(source);        if (se.count >= 20) {          StatCalc newSc = (StatCalc) nodeLatencyStats.get(source);          if (newSc == null || se.high > newSc.getHigh() || se.count == 20) {            if (original.contains(source)) {              newSc = (StatCalc) original.get(source).clone();            } else {              newSc = new StatCalc(source);            }            newSc.enter(se.high);            nodeLatencyStats.put(newSc);            nodeLatencyStats.save();          }        }      }    }  }