getValue().compareTo(newRTC.getValue()) != 0 || (newRTC.getAgents()==null && getAgents()!=null) || !newRTC.getAgents().equals(agents)) { setValue(newRTC.getValue()); agents = newRTC.getAgents(); return Relay.CONTENT_CHANGE;
(getValue()!=null && getValue().compareTo(newRTC.getValue()) != 0 )) { setValue(newRTC.getValue()); somethingChanged = true;
     public int updateContent(Object content, Relay.Token token) {        ReconnectTimeCondition newRTC = (ReconnectTimeCondition) content;        //if (logger.isDebugEnabled()) logger.debug("thisRTC = " + this.toString() + "\n" + "newRTC = " + newRTC.toString());        if (getValue()==null && newRTC.getValue()==null) return Relay.NO_CHANGE;        if ((getValue()==null && newRTC.getValue()!=null) ||            getValue().compareTo(newRTC.getValue()) != 0 ||            (newRTC.getAgents()==null && getAgents()!=null) ||            !newRTC.getAgents().equals(agents)) {          setValue(newRTC.getValue());          agents = newRTC.getAgents();          return Relay.CONTENT_CHANGE;        }        return Relay.NO_CHANGE;    }