[Minor] Added missing default branch in AbstractTransaction.removeFromCache()
This commit is contained in:
parent
4a4891f176
commit
98ff483ed6
|
@ -1118,7 +1118,7 @@ public abstract class AbstractTransaction implements StrolchTransaction {
|
||||||
if (this.activityCache != null)
|
if (this.activityCache != null)
|
||||||
this.activityCache.removeElement(locator.get(1), locator.get(2));
|
this.activityCache.removeElement(locator.get(1), locator.get(2));
|
||||||
}
|
}
|
||||||
|
default -> throw new IllegalStateException("Unexpected object type " + locator.get(0));
|
||||||
}
|
}
|
||||||
if (this.objectFilter != null)
|
if (this.objectFilter != null)
|
||||||
this.objectFilter.removeObjectCache(locator.get(0), locator);
|
this.objectFilter.removeObjectCache(locator.get(0), locator);
|
||||||
|
|
Loading…
Reference in New Issue