adapted to changed ESH API (#218)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
pull/220/head
Kai Kreuzer 2017-10-10 07:44:12 -07:00 committed by GitHub
parent d5841d354c
commit fcfdfbfbe7
1 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@
*/ */
package org.openhab.core.binding.internal; package org.openhab.core.binding.internal;
import org.eclipse.smarthome.config.core.Configuration;
import org.eclipse.smarthome.model.item.BindingConfigParseException; import org.eclipse.smarthome.model.item.BindingConfigParseException;
import org.eclipse.smarthome.model.item.BindingConfigReader; import org.eclipse.smarthome.model.item.BindingConfigReader;
@ -42,8 +43,8 @@ public class BindingConfigReaderDelegate implements BindingConfigReader {
} }
@Override @Override
public void processBindingConfiguration(String context, String itemType, String itemName, String bindingConfig) public void processBindingConfiguration(String context, String itemType, String itemName, String bindingConfig,
throws BindingConfigParseException { Configuration configuration) throws BindingConfigParseException {
try { try {
reader.processBindingConfiguration(context, getOpenHABItem(itemType, itemName), bindingConfig); reader.processBindingConfiguration(context, getOpenHABItem(itemType, itemName), bindingConfig);
} catch (org.openhab.model.item.binding.BindingConfigParseException e) { } catch (org.openhab.model.item.binding.BindingConfigParseException e) {