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:
Wouter Born 2020-09-23 20:28:23 +02:00 committed by GitHub
parent 9c16f3c6f5
commit 12bef45ff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 15 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {