diff --git a/src/ItemsByCapacity.java b/src/ItemsByCapacity.java index 7f9ccaf..1bde0ac 100644 --- a/src/ItemsByCapacity.java +++ b/src/ItemsByCapacity.java @@ -10,7 +10,7 @@ public List> getValue() { List> temp_l1 = new ArrayList<>(); { - for (Map item: this.siteWrapper.getSiteAValue()) { + for (Map item: this.siteWrapper.getSiteValue()) { if ((Integer) item.get("capacity") >= this.capacity.getValue()) { temp_l1.add(item); }