_log.debug("modified state {} (new etag {}) from presentity {}",
new Object[] {etag, state.getETag(), presentity});
}
else
{
presentity.refreshState(state, now + expires*1000);
if (_log.isDebugEnabled())
_log.debug("refreshed state {} (new etag {}) from presentity {}",
new Object[] {etag, state.getETag(), presentity});
}
}