From 5d5b7665b4b64f1e50e4e841557847d746915fb9 Mon Sep 17 00:00:00 2001 From: jimtng <2554958+jimtng@users.noreply.github.com> Date: Sat, 13 Nov 2021 06:02:27 +1000 Subject: [PATCH] [automation] Make LifecycleScriptExtensionProvider and its Disposable interface public (#2565) Signed-off-by: Jimmy Tanagra --- .../defaultscope => }/LifecycleScriptExtensionProvider.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/{internal/defaultscope => }/LifecycleScriptExtensionProvider.java (94%) diff --git a/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/defaultscope/LifecycleScriptExtensionProvider.java b/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/LifecycleScriptExtensionProvider.java similarity index 94% rename from bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/defaultscope/LifecycleScriptExtensionProvider.java rename to bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/LifecycleScriptExtensionProvider.java index 4654683688..13d8009121 100644 --- a/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/defaultscope/LifecycleScriptExtensionProvider.java +++ b/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/LifecycleScriptExtensionProvider.java @@ -10,7 +10,7 @@ * * SPDX-License-Identifier: EPL-2.0 */ -package org.openhab.core.automation.module.script.internal.defaultscope; +package org.openhab.core.automation.module.script; import java.util.ArrayList; import java.util.Collection; @@ -22,7 +22,6 @@ import java.util.concurrent.ConcurrentHashMap; import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; -import org.openhab.core.automation.module.script.ScriptExtensionProvider; import org.osgi.service.component.annotations.Component; /** @@ -98,7 +97,7 @@ public class LifecycleScriptExtensionProvider implements ScriptExtensionProvider } @FunctionalInterface - interface Disposable { + public interface Disposable { void dispose(); } }