if (count == null || count.doubleValue() < 1) {
count = 10;
}
if (filterOwnEntities == null) {
filterOwnEntities = true;
<BUG>}
Map<String, Double> resourceMap = new LinkedHashMap<>();</BUG>
if (this.reader == null || this.calculator == null) {
System.out.println("No data has been loaded");
return resourceMap;

if (count == null || count.doubleValue() < 1) {
count = 10;
}
if (filterOwnEntities == null) {
filterOwnEntities = true;
}
Map<Integer, Double> resourceIDs = new LinkedHashMap<>();
Map<String, Double> resourceMap = new LinkedHashMap<>();
if (this.reader == null || this.calculator == null) {
System.out.println("No data has been loaded");
return resourceMap;
