ContentState state = (ContentState) row.get("state");
Long msgCount = (Long) row.get("msgCount");
Long wordCount = (Long) row.get("wordCount");
LocaleId localeId = (LocaleId) row.get("locale");
TransUnitCount transUnitCount =
transUnitCountMap.get(localeId.getId());
if (transUnitCount == null) {
transUnitCount = new TransUnitCount();
transUnitCountMap.put(localeId.getId(), transUnitCount);
}
TransUnitWords transUnitWords =
transUnitWordsMap.get(localeId.getId());
if (transUnitWords == null) {
transUnitWords = new TransUnitWords();
transUnitWordsMap.put(localeId.getId(), transUnitWords);
}
transUnitCount.set(state, msgCount.intValue());
transUnitWords.set(state, wordCount.intValue());
}
for (TransUnitCount stat : transUnitCountMap.values()) {
stat.set(