use of org.asqatasun.entity.statistics.ThemeStatistics in project Asqatasun by Asqatasun.
the class WebResourceStatisticsDataServiceImpl method addResultToThemeCounterMap.
/**
*
* @param testSolution
* @param criterion
* @param wrs
*/
private void addResultToThemeCounterMap(TestSolution testSolution, Theme theme, WebResourceStatistics wrs, Map<Theme, ThemeStatistics> tsMap) {
if (tsMap.containsKey(theme)) {
ThemeStatistics ts = tsMap.get(theme);
incrementThemeCounterFromTestSolution(ts, testSolution);
} else {
ThemeStatistics ts = new ThemeStatisticsImpl();
ts.setTheme(theme);
incrementThemeCounterFromTestSolution(ts, testSolution);
tsMap.put(theme, ts);
}
}
Aggregations