Skip to content

Commit

Permalink
implemented new method of ExtensionService interface (openhab#145)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <[email protected]>
  • Loading branch information
kaikreuzer authored Apr 29, 2017
1 parent 6734977 commit 465b237
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit 465b237

Please sign in to comment.