From: Wouter Born Date: Sun, 16 Apr 2023 21:03:23 +0000 (+0200) Subject: [bluetooth.radoneye] Fix modifier order (#14830) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=827d4d7dc9057e47ab3c04d43755612b25eaa1f1;p=openhab-addons.git [bluetooth.radoneye] Fix modifier order (#14830) These modifiers are out of order with the JLS suggestions. Signed-off-by: Wouter Born --- diff --git a/bundles/org.openhab.binding.bluetooth.radoneye/src/main/java/org/openhab/binding/bluetooth/radoneye/internal/AbstractRadoneyeHandler.java b/bundles/org.openhab.binding.bluetooth.radoneye/src/main/java/org/openhab/binding/bluetooth/radoneye/internal/AbstractRadoneyeHandler.java index ac3d7fc1ae..0b75c50fda 100644 --- a/bundles/org.openhab.binding.bluetooth.radoneye/src/main/java/org/openhab/binding/bluetooth/radoneye/internal/AbstractRadoneyeHandler.java +++ b/bundles/org.openhab.binding.bluetooth.radoneye/src/main/java/org/openhab/binding/bluetooth/radoneye/internal/AbstractRadoneyeHandler.java @@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory; * @author Peter Obel - Initial contribution */ @NonNullByDefault -abstract public class AbstractRadoneyeHandler extends BeaconBluetoothHandler { +public abstract class AbstractRadoneyeHandler extends BeaconBluetoothHandler { private static final int CHECK_PERIOD_SEC = 10; @@ -59,13 +59,13 @@ abstract public class AbstractRadoneyeHandler extends BeaconBluetoothHandler { private enum ServiceState { NOT_RESOLVED, RESOLVING, - RESOLVED, + RESOLVED } private enum ReadState { IDLE, READING, - WRITING, + WRITING } public AbstractRadoneyeHandler(Thing thing) { @@ -327,5 +327,5 @@ abstract public class AbstractRadoneyeHandler extends BeaconBluetoothHandler { * * @param is the content of the bluetooth characteristic */ - abstract protected void updateChannels(int[] is); + protected abstract void updateChannels(int[] is); }