adapt to ESH changes of ItemRegistry (#47)
Signed-off-by: Kai Kreuzer <kai@openhab.org>pull/49/head
parent
25cd02baf4
commit
3e051a4f85
|
@ -14,6 +14,7 @@ import java.util.Set;
|
|||
|
||||
import org.eclipse.emf.common.util.EList;
|
||||
import org.eclipse.smarthome.core.common.registry.RegistryChangeListener;
|
||||
import org.eclipse.smarthome.core.items.ItemUtil;
|
||||
import org.openhab.core.compat1x.internal.ItemMapper;
|
||||
import org.openhab.core.items.Item;
|
||||
import org.openhab.core.items.ItemNotFoundException;
|
||||
|
@ -88,7 +89,7 @@ public class ItemUIRegistryDelegate
|
|||
|
||||
@Override
|
||||
public boolean isValidItemName(String itemName) {
|
||||
return itemUIRegistry.isValidItemName(itemName);
|
||||
return ItemUtil.isValidItemName(itemName);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue