From 61bdb1d0a37b64cbda9c6c49fbeaf0ca2d9c788e Mon Sep 17 00:00:00 2001 From: Holger Friedrich Date: Fri, 9 Aug 2024 16:46:03 +0200 Subject: [PATCH] Reduce SAT warnings Signed-off-by: Holger Friedrich --- .../openhab/core/thing/link/ItemChannelLinkRegistry.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/ItemChannelLinkRegistry.java b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/ItemChannelLinkRegistry.java index d872f9dc0dd..8ba846e0b47 100644 --- a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/ItemChannelLinkRegistry.java +++ b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/link/ItemChannelLinkRegistry.java @@ -224,13 +224,6 @@ protected void notifyListenersAboutUpdatedElement(final ItemChannelLink oldEleme // it is not needed to send an event, because links can not be updated } - private boolean isEditable(String linkId) { - if (getManagedProvider().isPresent()) { - return getManagedProvider().get().get(linkId) != null; - } - return false; - } - public enum ItemChannelLinkProblem { THING_CHANNEL_MISSING, ITEM_MISSING,