From 465b237d0b5b77459c6bc553698d2a9136462caa Mon Sep 17 00:00:00 2001 From: Kai Kreuzer Date: Sat, 29 Apr 2017 20:51:46 +0200 Subject: [PATCH] implemented new method of ExtensionService interface (#145) Signed-off-by: Kai Kreuzer --- .../openhab/core/karaf/internal/KarafExtensionService.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/org.openhab.core.karaf/src/main/java/org/openhab/core/karaf/internal/KarafExtensionService.java b/bundles/org.openhab.core.karaf/src/main/java/org/openhab/core/karaf/internal/KarafExtensionService.java index 1003659bbe5cb..f720a701d5a24 100644 --- a/bundles/org.openhab.core.karaf/src/main/java/org/openhab/core/karaf/internal/KarafExtensionService.java +++ b/bundles/org.openhab.core.karaf/src/main/java/org/openhab/core/karaf/internal/KarafExtensionService.java @@ -8,6 +8,7 @@ */ package org.openhab.core.karaf.internal; +import java.net.URI; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; @@ -141,6 +142,11 @@ public void uninstall(String id) { featureInstaller.removeAddon(getType(id), getName(id)); } + @Override + public String getExtensionId(URI extensionURI) { + return null; + } + private String getType(String name) { if (name.startsWith(FeatureInstaller.PREFIX)) { name = name.substring(FeatureInstaller.PREFIX.length());