Remove deprecated ConfigOptionProvider.getParameterOptions method (#8556)
Related to openhab/openhab-core#1667 Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
parent
9c16f3c6f5
commit
12bef45ff8
|
@ -45,11 +45,6 @@ import org.pcap4j.core.PcapAddress;
|
|||
@NonNullByDefault
|
||||
public class AmazonDashButtonConfigOptionProvider implements ConfigOptionProvider {
|
||||
|
||||
@Override
|
||||
public @Nullable Collection<ParameterOption> getParameterOptions(URI uri, String param, @Nullable Locale locale) {
|
||||
return getParameterOptions(uri, param, null, locale);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable Collection<ParameterOption> getParameterOptions(URI uri, String param, @Nullable String context,
|
||||
@Nullable Locale locale) {
|
||||
|
|
|
@ -206,11 +206,6 @@ public class GPSTrackerHandlerFactory extends BaseThingHandlerFactory implements
|
|||
super.deactivate(componentContext);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable Collection<ParameterOption> getParameterOptions(URI uri, String param, @Nullable Locale locale) {
|
||||
return getParameterOptions(uri, param, null, locale);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable Collection<ParameterOption> getParameterOptions(URI uri, String param, @Nullable String context,
|
||||
@Nullable Locale locale) {
|
||||
|
|
|
@ -38,11 +38,6 @@ import org.osgi.service.component.annotations.Component;
|
|||
@NonNullByDefault
|
||||
public class SmartMeterConfigProvider implements ConfigOptionProvider {
|
||||
|
||||
@Override
|
||||
public @Nullable Collection<ParameterOption> getParameterOptions(URI uri, String param, @Nullable Locale locale) {
|
||||
return getParameterOptions(uri, param, null, locale);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @Nullable Collection<ParameterOption> getParameterOptions(URI uri, String param, @Nullable String context,
|
||||
@Nullable Locale locale) {
|
||||
|
|
Loading…
Reference in New Issue