Rename handler to fix case and make consistent with corresponding channel selector (#14095)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
pull/14114/head
Jacob Laursen 2022-12-29 20:07:31 +01:00 committed by GitHub
parent 026ac92023
commit 68ecfa724e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.jetty.client.HttpClient;
import org.openhab.binding.miele.internal.discovery.MieleApplianceDiscoveryService;
import org.openhab.binding.miele.internal.handler.CoffeeMachineHandler;
import org.openhab.binding.miele.internal.handler.DishWasherHandler;
import org.openhab.binding.miele.internal.handler.DishwasherHandler;
import org.openhab.binding.miele.internal.handler.FridgeFreezerHandler;
import org.openhab.binding.miele.internal.handler.FridgeHandler;
import org.openhab.binding.miele.internal.handler.HobHandler;
@ -137,7 +137,7 @@ public class MieleHandlerFactory extends BaseThingHandlerFactory {
return new TumbleDryerHandler(thing, i18nProvider, localeProvider, timeZoneProvider);
}
if (thing.getThingTypeUID().equals(THING_TYPE_DISHWASHER)) {
return new DishWasherHandler(thing, i18nProvider, localeProvider, timeZoneProvider);
return new DishwasherHandler(thing, i18nProvider, localeProvider, timeZoneProvider);
}
if (thing.getThingTypeUID().equals(THING_TYPE_COFFEEMACHINE)) {
return new CoffeeMachineHandler(thing, i18nProvider, localeProvider, timeZoneProvider);

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
import com.google.gson.JsonElement;
/**
* The {@link DishWasherHandler} is responsible for handling commands,
* The {@link DishwasherHandler} is responsible for handling commands,
* which are sent to one of the channels
*
* @author Karel Goderis - Initial contribution
@ -46,16 +46,16 @@ import com.google.gson.JsonElement;
* @author Jacob Laursen - Fixed multicast and protocol support (ZigBee/LAN), added power/water consumption channels
*/
@NonNullByDefault
public class DishWasherHandler extends MieleApplianceHandler<DishwasherChannelSelector>
public class DishwasherHandler extends MieleApplianceHandler<DishwasherChannelSelector>
implements ExtendedDeviceStateListener {
private static final int POWER_CONSUMPTION_BYTE_POSITION = 16;
private static final int WATER_CONSUMPTION_BYTE_POSITION = 18;
private static final int EXTENDED_STATE_MIN_SIZE_BYTES = 19;
private final Logger logger = LoggerFactory.getLogger(DishWasherHandler.class);
private final Logger logger = LoggerFactory.getLogger(DishwasherHandler.class);
public DishWasherHandler(Thing thing, TranslationProvider i18nProvider, LocaleProvider localeProvider,
public DishwasherHandler(Thing thing, TranslationProvider i18nProvider, LocaleProvider localeProvider,
TimeZoneProvider timeZoneProvider) {
super(thing, i18nProvider, localeProvider, timeZoneProvider, DishwasherChannelSelector.class,
MIELE_DEVICE_CLASS_DISHWASHER);