John in Storage.java, you have the code
@Override
public boolean replaceAbstractBaseEvent(AbstractBaseEvent abstractBaseEvent) {
sharedStorageInstance.saveAbstractBaseEvent(abstractBaseEvent);
return false;
}
After testing, this will always return false, even if sharedStorageInstance.saveAbstractBaseEvent(abstractBaseEvent); returns true. I tested this step-by-step to make sure there were no other errors, which I immediately deleted. You need to change your code to
@Override
public boolean replaceAbstractBaseEvent(AbstractBaseEvent abstractBaseEvent) {
return sharedStorageInstance.saveAbstractBaseEvent(abstractBaseEvent);
}
I am sure that this is the problem because I am 100% sure that Storage actually does save it, its just saying its not.
John in Storage.java, you have the code @Override public boolean replaceAbstractBaseEvent(AbstractBaseEvent abstractBaseEvent) { sharedStorageInstance.saveAbstractBaseEvent(abstractBaseEvent); return false; }
After testing, this will always return false, even if sharedStorageInstance.saveAbstractBaseEvent(abstractBaseEvent); returns true. I tested this step-by-step to make sure there were no other errors, which I immediately deleted. You need to change your code to @Override public boolean replaceAbstractBaseEvent(AbstractBaseEvent abstractBaseEvent) { return sharedStorageInstance.saveAbstractBaseEvent(abstractBaseEvent); }
I am sure that this is the problem because I am 100% sure that Storage actually does save it, its just saying its not.