oldStats.decrement(event.getNewState(), wordCount);
oldStats.increment(event.getPreviousState(), wordCount);
Events.instance().raiseAsynchronousEvent(
DocumentStatisticUpdatedEvent.EVENT_NAME,
new DocumentStatisticUpdatedEvent(oldStats, stats,
event.getProjectIterationId(),
event.getDocumentId(), event.getLocaleId(),
event.getPreviousState(), event.getNewState()));
}
}