if (commitNoticeElement != null) {
ProtocolHashedVersion version = ProtocolHashedVersion.newBuilder()
.setHistoryHash(Base64Util.decode(commitNoticeElement.attributeValue("history-hash")))
.setVersion(Long.parseLong(commitNoticeElement.attributeValue("version"))).build();
callbackCount.incrementAndGet(); // Increment required callbacks.
listener.waveletCommitUpdate(waveletName, version, callback);
}
}
// Release sentinel so that 'expected' callbacks from the WS don't invoke
// sending a receipt.