[Minor] Added missing default branch in AbstractTransaction.removeFromCache()

This commit is contained in:
Robert von Burg 2023-04-05 20:51:26 +02:00
parent 4a4891f176
commit 98ff483ed6
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 1 additions and 1 deletions

View File

@ -1118,7 +1118,7 @@ public abstract class AbstractTransaction implements StrolchTransaction {
if (this.activityCache != null)
this.activityCache.removeElement(locator.get(1), locator.get(2));
}
default -> throw new IllegalStateException("Unexpected object type " + locator.get(0));
}
if (this.objectFilter != null)
this.objectFilter.removeObjectCache(locator.get(0), locator);