Very minor checkstyle (#13973)

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
This commit is contained in:
lsiepel 2022-12-20 00:01:50 +01:00 committed by GitHub
parent 127f998a69
commit 40b8b77840
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,10 +136,7 @@ public class RoamingBridgeHandler extends BaseBridgeHandler implements RoamingBl
return false; return false;
} }
Object discovery = getConfig().get(BluetoothBindingConstants.CONFIGURATION_DISCOVERY); Object discovery = getConfig().get(BluetoothBindingConstants.CONFIGURATION_DISCOVERY);
if (discovery != null && discovery.toString().equalsIgnoreCase("false")) { return !(discovery != null && discovery.toString().equalsIgnoreCase("false"));
return false;
}
return true;
} }
@Override @Override