diff --git a/bundles/org.openhab.io.hueemulation/src/test/java/org/openhab/io/hueemulation/internal/rest/mocks/DummyItemRegistry.java b/bundles/org.openhab.io.hueemulation/src/test/java/org/openhab/io/hueemulation/internal/rest/mocks/DummyItemRegistry.java index d8e55cf7cc9..97b8db7966d 100644 --- a/bundles/org.openhab.io.hueemulation/src/test/java/org/openhab/io/hueemulation/internal/rest/mocks/DummyItemRegistry.java +++ b/bundles/org.openhab.io.hueemulation/src/test/java/org/openhab/io/hueemulation/internal/rest/mocks/DummyItemRegistry.java @@ -25,7 +25,6 @@ import org.openhab.core.common.registry.RegistryChangeListener; import org.openhab.core.items.Item; import org.openhab.core.items.ItemNotFoundException; import org.openhab.core.items.ItemRegistry; -import org.openhab.core.items.RegistryHook; /** * @author David Graeff - Initial contribution @@ -150,12 +149,4 @@ public class DummyItemRegistry implements ItemRegistry { } return put; } - - @Override - public void addRegistryHook(RegistryHook hook) { - } - - @Override - public void removeRegistryHook(RegistryHook hook) { - } } diff --git a/bundles/org.openhab.persistence.dynamodb/src/test/java/org/openhab/persistence/dynamodb/internal/BaseIntegrationTest.java b/bundles/org.openhab.persistence.dynamodb/src/test/java/org/openhab/persistence/dynamodb/internal/BaseIntegrationTest.java index 7c55fa72ebc..4db1ad895b0 100644 --- a/bundles/org.openhab.persistence.dynamodb/src/test/java/org/openhab/persistence/dynamodb/internal/BaseIntegrationTest.java +++ b/bundles/org.openhab.persistence.dynamodb/src/test/java/org/openhab/persistence/dynamodb/internal/BaseIntegrationTest.java @@ -44,7 +44,6 @@ import org.openhab.core.items.Item; import org.openhab.core.items.ItemNotFoundException; import org.openhab.core.items.ItemNotUniqueException; import org.openhab.core.items.ItemRegistry; -import org.openhab.core.items.RegistryHook; import org.openhab.core.library.items.CallItem; import org.openhab.core.library.items.ColorItem; import org.openhab.core.library.items.ContactItem; @@ -298,16 +297,6 @@ public class BaseIntegrationTest extends JavaTest { public @Nullable Item remove(String itemName, boolean recursive) { throw new UnsupportedOperationException(); } - - @Override - public void addRegistryHook(RegistryHook hook) { - throw new UnsupportedOperationException(); - } - - @Override - public void removeRegistryHook(RegistryHook hook) { - throw new UnsupportedOperationException(); - } }, UNIT_PROVIDER, localEndpointOverride); service.activate(null, config);