]> git.basschouten.com Git - openhab-addons.git/commitdiff
[bluetooth.radoneye] Fix modifier order (#14830)
authorWouter Born <github@maindrain.net>
Sun, 16 Apr 2023 21:03:23 +0000 (23:03 +0200)
committerGitHub <noreply@github.com>
Sun, 16 Apr 2023 21:03:23 +0000 (23:03 +0200)
These modifiers are out of order with the JLS suggestions.

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.binding.bluetooth.radoneye/src/main/java/org/openhab/binding/bluetooth/radoneye/internal/AbstractRadoneyeHandler.java

index ac3d7fc1aee4da894c799f0c5338723f9c8318dc..0b75c50fda023eaffe3718baab9c6c4d6ad0d379 100644 (file)
@@ -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);
 }