Skip to content

Commit 04254ce

Browse files
authored
Remove unneeded code (openhab#17861)
Signed-off-by: Jacob Laursen <[email protected]>
1 parent 98d2579 commit 04254ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bundles/org.openhab.binding.energidataservice/src/main/java/org/openhab/binding/energidataservice/internal/factory/EnergiDataServiceHandlerFactory.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import org.openhab.core.thing.binding.BaseThingHandlerFactory;
3131
import org.openhab.core.thing.binding.ThingHandler;
3232
import org.openhab.core.thing.binding.ThingHandlerFactory;
33-
import org.osgi.service.component.ComponentContext;
3433
import org.osgi.service.component.annotations.Activate;
3534
import org.osgi.service.component.annotations.Component;
3635
import org.osgi.service.component.annotations.Reference;
@@ -57,8 +56,7 @@ public class EnergiDataServiceHandlerFactory extends BaseThingHandlerFactory {
5756
public EnergiDataServiceHandlerFactory(final @Reference HttpClientFactory httpClientFactory,
5857
final @Reference TimeZoneProvider timeZoneProvider,
5958
final @Reference ElectricityPriceProvider electricityPriceProvider,
60-
final @Reference Co2EmissionProvider co2EmissionProvider, ComponentContext componentContext) {
61-
super.activate(componentContext);
59+
final @Reference Co2EmissionProvider co2EmissionProvider) {
6260
this.httpClient = httpClientFactory.getCommonHttpClient();
6361
this.timeZoneProvider = timeZoneProvider;
6462
this.electricityPriceProvider = electricityPriceProvider;

0 commit comments

Comments
 (0)