@Cacheable(value = "Global", key = "'GOATPointsLevelResults'")
public Map<String, List<String>> getLevelResults() {
Map<String, List<String>> levelResults = new LinkedHashMap<>();
jdbcTemplate.query(LEVEL_RESULTS_QUERY, rs -> {
String level = rs.getString("level");
<BUG>String result = mapResult(level, rs.getString("result"));
List<String> results = levelResults.get(level);
if (results == null) {
results = new ArrayList<>();
levelResults.put(level, results);
}
results.add(result);</BUG>
});

@Cacheable(value = "Global", key = "'GOATPointsLevelResults'")
public Map<String, List<String>> getLevelResults() {
Map<String, List<String>> levelResults = new LinkedHashMap<>();
jdbcTemplate.query(LEVEL_RESULTS_QUERY, rs -> {
String level = rs.getString("level");
String result = mapResult(level, rs.getString("result"));
levelResults.computeIfAbsent(level, aLevel -> new ArrayList<>()).add(result);
});
return levelResults;
