diff --git a/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/DeviceStatus.java b/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/DeviceStatus.java index 1a49a91ada248..00ea68f1c18a2 100644 --- a/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/DeviceStatus.java +++ b/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/DeviceStatus.java @@ -29,7 +29,7 @@ @NonNullByDefault public class DeviceStatus { - private static final Map statusMap = Map.ofEntries( + private static final Map STATUS_MAP = Map.ofEntries( entry(0, new DeviceStatus("Reading status", false, DeviceCommand.RETURN)), entry(257, new DeviceStatus("Charging", false, DeviceCommand.RETURN)), entry(258, new DeviceStatus("Docked", true, DeviceCommand.RETURN)), @@ -77,7 +77,7 @@ private DeviceStatus(String message, boolean isReadyToMow, @Nullable DeviceComma * @return the {@link DeviceStatus} providing additional context for the code */ public static DeviceStatus fromCode(int code) { - DeviceStatus status = statusMap.get(code); + DeviceStatus status = STATUS_MAP.get(code); if (status != null) { return status; } diff --git a/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/dto/request/SetStateRequest.java b/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/dto/request/SetStateRequest.java index 1f5867dd85e29..598015715726c 100644 --- a/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/dto/request/SetStateRequest.java +++ b/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/dto/request/SetStateRequest.java @@ -19,11 +19,11 @@ */ public class SetStateRequest { - public final static String STATE_MOW = "mow"; + public static final String STATE_MOW = "mow"; - public final static String STATE_PAUSE = "pause"; + public static final String STATE_PAUSE = "pause"; - public final static String STATE_RETURN = "returnToDock"; + public static final String STATE_RETURN = "returnToDock"; public String state; } diff --git a/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/dto/response/DeviceCalendarResponse.java b/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/dto/response/DeviceCalendarResponse.java index 3c8b562592c9b..7d5b0264cc91f 100644 --- a/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/dto/response/DeviceCalendarResponse.java +++ b/bundles/org.openhab.binding.boschindego/src/main/java/org/openhab/binding/boschindego/internal/dto/response/DeviceCalendarResponse.java @@ -24,8 +24,8 @@ public class DeviceCalendarResponse { @SerializedName("sel_cal") - private int selectedEntryNumber; + public int selectedEntryNumber; @SerializedName("cals") - private DeviceCalendarEntry[] entries; + public DeviceCalendarEntry[] entries; }