private void synchronizeTagValues(final Set<Long> newTags) throws JMSException {
  if (!newTags.isEmpty()) {
    ClientDataTagImpl newTag=null;
    Collection<TagValueUpdate> requestedTagValues=tagRequestHandler.requestTagValues(newTags);
    for (    TagValueUpdate tagValueUpdate : requestedTagValues) {
      newTag=liveCache.get(tagValueUpdate.getId());
      if (newTag != null) {
        newTag.update(tagValueUpdate);
      }
    }
  }
}

private void synchronizeTagValues ( final Set < Long > newTags ) throws JMSException { if ( ! newTags . isEmpty ( ) ) { ClientDataTagImpl newTag = null ; Collection < TagValueUpdate > requestedTagValues = tagRequestHandler . requestTagValues ( newTags ) ; for ( TagValueUpdate tagValueUpdate : requestedTagValues ) { newTag = liveCache . get ( tagValueUpdate . getId ( ) ) ; if ( newTag != null ) { newTag . update ( tagValueUpdate ) ; } } } }
inner method that updates a second time in case an update was sent before the tag was subscribed to the topic .
