for (Map<Integer, Double> map : resRecencies) {
resMaps.put(reader.getResources().get(i++), map);
}
resetStructures(userMaps, resMaps, reader);
}
<BUG>public synchronized Map<String, Double> getEntitiesWithLikelihood(String user, String resource, List<String> topics, Integer count) {
</BUG>
if (count == null || count.doubleValue() < 1) {
count = 10;
<BUG>}
Map<Integer, Double> resultMap = new LinkedHashMap<Integer, Double>();
Map<Integer, Double> userMap = this.userMaps.get(user);
Map<Integer, Double> resMap = this.resMaps.get(resource);</BUG>
if (userMap != null) {

for (Map<Integer, Double> map : resRecencies) {
resMaps.put(reader.getResources().get(i++), map);
}
resetStructures(userMaps, resMaps, reader);
}
public synchronized Map<String, Double> getEntitiesWithLikelihood(String user, String resource, List<String> topics, Integer count, Boolean filterOwnEntities, String algorithm) {
if (count == null || count.doubleValue() < 1) {
count = 10;
}
Map<Integer, Double> userMap = this.userMaps.get(user);
if (filterOwnEntities == null) {
filterOwnEntities = true;
}
List<Integer> filterTags = EngineUtils.getFilterTags(filterOwnEntities, this.reader, user, resource, userMap);
