minor fixes

fix some small things so the code runs
This commit is contained in:
Zackkogan 2018-04-02 23:47:08 -04:00
parent 359e2cfa19
commit f5f4c25945
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ public class NewOwnerStore {
if(iterator.hasNext()) {
Owner oldOwner = iterator.next();
if(id != oldOwner.getId() || !ownerStore.get(id).equals(oldOwner)) {
ownerStore.put(id, convertToStaticOwner(oldOwner);
ownerStore.put(id, StaticOwner.convertToStaticOwner(oldOwner));
inconsistencies++;
violation(id, StaticOwner.convertToStaticOwner(oldOwner), ownerStore.get(id));
}

View file

@ -117,7 +117,7 @@ class OwnerController {
String pattern = lastName + "*";
NewOwnerStore newStore = NewOwnerStore.getInstance(owners);
newStore.populateStore();
newStore.forklift();
HashMap<Integer, StaticOwner> storeMap = newStore.getStore();