mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
Remove unnecessary semicolons (#16214)
This helps with stopping the proliferation of unnecessary semicolons. Signed-off-by: Wouter Born <github@maindrain.net> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
5b1e3c70ef
commit
9c6c475a1c
@ -802,4 +802,4 @@ public class AirqHandler extends BaseThingHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
@ -129,7 +129,7 @@ public class SmartHomeDevicesDiscovery extends AbstractDiscoveryService {
|
|||||||
if (activateTimeStamp == null) {
|
if (activateTimeStamp == null) {
|
||||||
this.activateTimeStamp = new Date().getTime();
|
this.activateTimeStamp = new Date().getTime();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
synchronized void setSmartHomeDevices(List<SmartHomeBaseDevice> deviceList) {
|
synchronized void setSmartHomeDevices(List<SmartHomeBaseDevice> deviceList) {
|
||||||
int smartHomeDeviceDiscoveryMode = accountHandler.getSmartHomeDevicesDiscoveryMode();
|
int smartHomeDeviceDiscoveryMode = accountHandler.getSmartHomeDevicesDiscoveryMode();
|
||||||
|
@ -23,4 +23,4 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
|||||||
public enum CaddxDirection {
|
public enum CaddxDirection {
|
||||||
IN,
|
IN,
|
||||||
OUT
|
OUT
|
||||||
};
|
}
|
||||||
|
@ -26,4 +26,4 @@ public enum CaddxSource {
|
|||||||
KEYPAD,
|
KEYPAD,
|
||||||
PARTITION,
|
PARTITION,
|
||||||
ZONE
|
ZONE
|
||||||
};
|
}
|
||||||
|
@ -1155,7 +1155,7 @@ public enum EcoTouchTags {
|
|||||||
Bitfield,
|
Bitfield,
|
||||||
Float,
|
Float,
|
||||||
Enum
|
Enum
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The format of the response of the heat pump
|
* The format of the response of the heat pump
|
||||||
|
@ -42,7 +42,7 @@ public class FoobotAccountHandlerTest {
|
|||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new AssertionError(e.getMessage());
|
throw new AssertionError(e.getMessage());
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
private final FoobotAccountHandler handler = new FoobotAccountHandler(bridge, connector);
|
private final FoobotAccountHandler handler = new FoobotAccountHandler(bridge, connector);
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ public class FoobotDeviceHandlerTest {
|
|||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new AssertionError(e.getMessage());
|
throw new AssertionError(e.getMessage());
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
};
|
};
|
||||||
private final FoobotDeviceHandler handler = new FoobotDeviceHandler(thing, connector);
|
private final FoobotDeviceHandler handler = new FoobotDeviceHandler(thing, connector);
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ public class GroupePSAHandler extends BaseThingHandler {
|
|||||||
} else {
|
} else {
|
||||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.BRIDGE_OFFLINE);
|
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.BRIDGE_OFFLINE);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handleCommand(ChannelUID channelUID, Command command) {
|
public void handleCommand(ChannelUID channelUID, Command command) {
|
||||||
|
@ -30,7 +30,7 @@ import org.eclipse.jdt.annotation.Nullable;
|
|||||||
public abstract class ListUtil {
|
public abstract class ListUtil {
|
||||||
|
|
||||||
private ListUtil() {
|
private ListUtil() {
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Replace entries in the given originalList with entries from replacements, if the have an equal key.
|
* Replace entries in the given originalList with entries from replacements, if the have an equal key.
|
||||||
|
@ -63,7 +63,7 @@ public class InsteonCommandExtension extends AbstractConsoleCommandExtension imp
|
|||||||
STANDARD,
|
STANDARD,
|
||||||
EXTENDED,
|
EXTENDED,
|
||||||
EXTENDED_2
|
EXTENDED_2
|
||||||
};
|
}
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
private InsteonNetworkHandler handler;
|
private InsteonNetworkHandler handler;
|
||||||
|
@ -41,7 +41,7 @@ public class DeviceFeatureListener {
|
|||||||
public enum StateChangeType {
|
public enum StateChangeType {
|
||||||
ALWAYS,
|
ALWAYS,
|
||||||
CHANGED
|
CHANGED
|
||||||
};
|
}
|
||||||
|
|
||||||
private String itemName;
|
private String itemName;
|
||||||
private ChannelUID channelUID;
|
private ChannelUID channelUID;
|
||||||
|
@ -90,7 +90,7 @@ public class GroupMessageStateMachine {
|
|||||||
BCAST,
|
BCAST,
|
||||||
CLEAN,
|
CLEAN,
|
||||||
SUCCESS
|
SUCCESS
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The state of the machine (i.e. what message we are expecting next).
|
* The state of the machine (i.e. what message we are expecting next).
|
||||||
@ -100,7 +100,7 @@ public class GroupMessageStateMachine {
|
|||||||
EXPECT_BCAST,
|
EXPECT_BCAST,
|
||||||
EXPECT_CLEAN,
|
EXPECT_CLEAN,
|
||||||
EXPECT_SUCCESS
|
EXPECT_SUCCESS
|
||||||
};
|
}
|
||||||
|
|
||||||
private State state = State.EXPECT_BCAST;
|
private State state = State.EXPECT_BCAST;
|
||||||
private long lastUpdated = 0;
|
private long lastUpdated = 0;
|
||||||
|
@ -336,4 +336,4 @@ public class MQTTProtocol {
|
|||||||
public String robotid;
|
public String robotid;
|
||||||
public String hostname;
|
public String hostname;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
@ -56,7 +56,7 @@ public class IPClient extends AbstractKNXClient {
|
|||||||
ROUTER,
|
ROUTER,
|
||||||
SECURE_TUNNEL,
|
SECURE_TUNNEL,
|
||||||
SECURE_ROUTER
|
SECURE_ROUTER
|
||||||
};
|
}
|
||||||
|
|
||||||
private final Logger logger = LoggerFactory.getLogger(IPClient.class);
|
private final Logger logger = LoggerFactory.getLogger(IPClient.class);
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ public class ZoneStatus extends AbstractMessageBody {
|
|||||||
@SerializedName("FanSpeed")
|
@SerializedName("FanSpeed")
|
||||||
public FanSpeedType fanSpeed;
|
public FanSpeedType fanSpeed;
|
||||||
@SerializedName("Zone")
|
@SerializedName("Zone")
|
||||||
public Href zone = new Href();;
|
public Href zone = new Href();
|
||||||
@SerializedName("StatusAccuracy")
|
@SerializedName("StatusAccuracy")
|
||||||
public String statusAccuracy = ""; // "Good" or ??
|
public String statusAccuracy = ""; // "Good" or ??
|
||||||
|
|
||||||
|
@ -55,24 +55,24 @@ public class ResponseFieldDTO {
|
|||||||
@SerializedName("nom_dept")
|
@SerializedName("nom_dept")
|
||||||
private String nomDept = "";
|
private String nomDept = "";
|
||||||
@SerializedName("etat_grand_froid")
|
@SerializedName("etat_grand_froid")
|
||||||
private AlertLevel grandFroid = AlertLevel.UNKNOWN;;
|
private AlertLevel grandFroid = AlertLevel.UNKNOWN;
|
||||||
@SerializedName("noversion")
|
@SerializedName("noversion")
|
||||||
private String noVersion = "";
|
private String noVersion = "";
|
||||||
@SerializedName("etat_pluie_inondation")
|
@SerializedName("etat_pluie_inondation")
|
||||||
private AlertLevel pluieInondation = AlertLevel.UNKNOWN;;
|
private AlertLevel pluieInondation = AlertLevel.UNKNOWN;
|
||||||
@SerializedName("etat_neige")
|
@SerializedName("etat_neige")
|
||||||
private AlertLevel neige = AlertLevel.UNKNOWN;;
|
private AlertLevel neige = AlertLevel.UNKNOWN;
|
||||||
@SerializedName("etat_vent")
|
@SerializedName("etat_vent")
|
||||||
private AlertLevel vent = AlertLevel.UNKNOWN;;
|
private AlertLevel vent = AlertLevel.UNKNOWN;
|
||||||
@SerializedName("etat_inondation")
|
@SerializedName("etat_inondation")
|
||||||
private AlertLevel inondation = AlertLevel.UNKNOWN;;
|
private AlertLevel inondation = AlertLevel.UNKNOWN;
|
||||||
@SerializedName("etat_avalanches")
|
@SerializedName("etat_avalanches")
|
||||||
private AlertLevel avalanches = AlertLevel.UNKNOWN;;
|
private AlertLevel avalanches = AlertLevel.UNKNOWN;
|
||||||
@SerializedName("etat_orage")
|
@SerializedName("etat_orage")
|
||||||
private AlertLevel orage = AlertLevel.UNKNOWN;
|
private AlertLevel orage = AlertLevel.UNKNOWN;
|
||||||
private int echeance;
|
private int echeance;
|
||||||
@SerializedName("etat_vague_submersion")
|
@SerializedName("etat_vague_submersion")
|
||||||
private AlertLevel vagueSubmersion = AlertLevel.UNKNOWN;;
|
private AlertLevel vagueSubmersion = AlertLevel.UNKNOWN;
|
||||||
private String dep = "";
|
private String dep = "";
|
||||||
@SerializedName("vigilancecommentaire_texte")
|
@SerializedName("vigilancecommentaire_texte")
|
||||||
private String vigilanceComment = "";
|
private String vigilanceComment = "";
|
||||||
|
@ -114,7 +114,7 @@ public abstract class MiIoAbstractHandler extends BaseThingHandler implements Mi
|
|||||||
return "id:" + ret;
|
return "id:" + ret;
|
||||||
}
|
}
|
||||||
return "failed";
|
return "failed";
|
||||||
});;
|
});
|
||||||
protected static final long CACHE_EXPIRY = TimeUnit.SECONDS.toMillis(5);
|
protected static final long CACHE_EXPIRY = TimeUnit.SECONDS.toMillis(5);
|
||||||
protected static final long CACHE_EXPIRY_NETWORK = TimeUnit.SECONDS.toMillis(60);
|
protected static final long CACHE_EXPIRY_NETWORK = TimeUnit.SECONDS.toMillis(60);
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ public abstract class RouterosInterfaceBase extends RouterosBaseData {
|
|||||||
|
|
||||||
public String getApiType() {
|
public String getApiType() {
|
||||||
return getDesignedType().toString();
|
return getDesignedType().toString();
|
||||||
};
|
}
|
||||||
|
|
||||||
public boolean validate() {
|
public boolean validate() {
|
||||||
return getDesignedType() == this.type;
|
return getDesignedType() == this.type;
|
||||||
|
@ -45,7 +45,7 @@ public class MessageSpeak extends BaseMessage {
|
|||||||
public String utterance = "";
|
public String utterance = "";
|
||||||
@SerializedName("expect_response")
|
@SerializedName("expect_response")
|
||||||
public String expectResponse = "";
|
public String expectResponse = "";
|
||||||
};
|
}
|
||||||
|
|
||||||
public static class Context {
|
public static class Context {
|
||||||
@SerializedName("client_name")
|
@SerializedName("client_name")
|
||||||
|
@ -51,7 +51,7 @@ public abstract class Shape extends Panel {
|
|||||||
|
|
||||||
public int getOrientation() {
|
public int getOrientation() {
|
||||||
return orientation;
|
return orientation;
|
||||||
};
|
}
|
||||||
|
|
||||||
protected int getPanelId() {
|
protected int getPanelId() {
|
||||||
return panelId;
|
return panelId;
|
||||||
|
@ -304,7 +304,7 @@ public abstract class NhcThermostat {
|
|||||||
logger.debug("Thermostat mode {} not recognized, default to Day mode", mode);
|
logger.debug("Thermostat mode {} not recognized, default to Day mode", mode);
|
||||||
}
|
}
|
||||||
executeMode(intMode);
|
executeMode(intMode);
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends thermostat setpoint to Niko Home Control. This method is implemented in {@link NhcThermostat1} and
|
* Sends thermostat setpoint to Niko Home Control. This method is implemented in {@link NhcThermostat1} and
|
||||||
|
@ -204,12 +204,12 @@ public abstract class NikoHomeControlCommunication {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void startEnergyMeter(String energyMeterId) {
|
public void startEnergyMeter(String energyMeterId) {
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Stop retrieving energy meter data from Niko Home Control.
|
* Stop retrieving energy meter data from Niko Home Control.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void stopEnergyMeter(String energyMeterId) {
|
public void stopEnergyMeter(String energyMeterId) {
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
@ -363,7 +363,7 @@ public class ThermostatHandler extends BaseThingHandler {
|
|||||||
map.put(8, "boost");
|
map.put(8, "boost");
|
||||||
map.put(9, "eco");
|
map.put(9, "eco");
|
||||||
return map;
|
return map;
|
||||||
};
|
}
|
||||||
|
|
||||||
private static Map<String, Integer> createRegulationReverseMap() {
|
private static Map<String, Integer> createRegulationReverseMap() {
|
||||||
HashMap<String, Integer> map = new HashMap<>();
|
HashMap<String, Integer> map = new HashMap<>();
|
||||||
@ -375,7 +375,7 @@ public class ThermostatHandler extends BaseThingHandler {
|
|||||||
map.put("boost", 8);
|
map.put("boost", 8);
|
||||||
map.put("eco", 9);
|
map.put("eco", 9);
|
||||||
return map;
|
return map;
|
||||||
};
|
}
|
||||||
|
|
||||||
private Map<String, Consumer<ThermostatModel>> createChannelRefreshActionMap() {
|
private Map<String, Consumer<ThermostatModel>> createChannelRefreshActionMap() {
|
||||||
HashMap<String, Consumer<ThermostatModel>> map = new HashMap<>();
|
HashMap<String, Consumer<ThermostatModel>> map = new HashMap<>();
|
||||||
|
@ -116,7 +116,7 @@ public class OpenWebNetAlarmHandler extends OpenWebNetThingHandler {
|
|||||||
@Override
|
@Override
|
||||||
protected long getRefreshAllLastTS() {
|
protected long getRefreshAllLastTS() {
|
||||||
return lastAllDevicesRefreshTS;
|
return lastAllDevicesRefreshTS;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void refreshDevice(boolean refreshAll) {
|
protected void refreshDevice(boolean refreshAll) {
|
||||||
|
@ -155,7 +155,7 @@ public class OpenWebNetAutomationHandler extends OpenWebNetThingHandler {
|
|||||||
@Override
|
@Override
|
||||||
protected long getRefreshAllLastTS() {
|
protected long getRefreshAllLastTS() {
|
||||||
return lastAllDevicesRefreshTS;
|
return lastAllDevicesRefreshTS;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void refreshDevice(boolean refreshAll) {
|
protected void refreshDevice(boolean refreshAll) {
|
||||||
|
@ -95,7 +95,7 @@ public class OpenWebNetLightingHandler extends OpenWebNetThingHandler {
|
|||||||
@Override
|
@Override
|
||||||
protected long getRefreshAllLastTS() {
|
protected long getRefreshAllLastTS() {
|
||||||
return lastAllDevicesRefreshTS;
|
return lastAllDevicesRefreshTS;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void refreshDevice(boolean refreshAll) {
|
protected void refreshDevice(boolean refreshAll) {
|
||||||
|
@ -380,7 +380,7 @@ public class OpenWebNetScenarioHandler extends OpenWebNetThingHandler {
|
|||||||
@Override
|
@Override
|
||||||
protected long getRefreshAllLastTS() {
|
protected long getRefreshAllLastTS() {
|
||||||
return lastAllDevicesRefreshTS;
|
return lastAllDevicesRefreshTS;
|
||||||
};
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void refreshDevice(boolean refreshAll) {
|
protected void refreshDevice(boolean refreshAll) {
|
||||||
|
@ -251,7 +251,7 @@ public abstract class OpenWebNetThingHandler extends BaseThingHandler {
|
|||||||
*/
|
*/
|
||||||
protected long getRefreshAllLastTS() {
|
protected long getRefreshAllLastTS() {
|
||||||
return -1;
|
return -1;
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Refresh all devices for this handler
|
* Refresh all devices for this handler
|
||||||
|
@ -296,5 +296,5 @@ public class PulseAudioAudioSource extends PulseaudioSimpleProtocolStream implem
|
|||||||
closed = true;
|
closed = true;
|
||||||
input.close();
|
input.close();
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
@ -270,7 +270,7 @@ public final class QbusCommunication extends BaseThingHandler {
|
|||||||
|
|
||||||
qbusListenerRunning = false;
|
qbusListenerRunning = false;
|
||||||
logger.trace("Event listener thread stopped on thread {}", Thread.currentThread().getId());
|
logger.trace("Event listener thread stopped on thread {}", Thread.currentThread().getId());
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called by other methods to send json data to Qbus.
|
* Called by other methods to send json data to Qbus.
|
||||||
|
@ -149,7 +149,7 @@ public class SenseBoxHandler extends BaseThingHandler {
|
|||||||
} else {
|
} else {
|
||||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR);
|
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
private void startAutomaticRefresh() {
|
private void startAutomaticRefresh() {
|
||||||
stopAutomaticRefresh();
|
stopAutomaticRefresh();
|
||||||
|
@ -60,7 +60,7 @@ public abstract class BaseSensorHandler extends BaseThingHandler {
|
|||||||
SENSOR_IS_NULL,
|
SENSOR_IS_NULL,
|
||||||
SENSOR_ID_NEGATIVE,
|
SENSOR_ID_NEGATIVE,
|
||||||
UNKNOWN
|
UNKNOWN
|
||||||
};
|
}
|
||||||
|
|
||||||
public enum UpdateStatus {
|
public enum UpdateStatus {
|
||||||
OK,
|
OK,
|
||||||
|
@ -954,7 +954,7 @@ public class Shelly1ApiJsonDTO {
|
|||||||
public static class ShellySensorBat {
|
public static class ShellySensorBat {
|
||||||
public Double value; // estimated remaining battery capacity in %
|
public Double value; // estimated remaining battery capacity in %
|
||||||
public Double voltage; // battery voltage
|
public Double voltage; // battery voltage
|
||||||
};
|
}
|
||||||
|
|
||||||
// Door/Window sensor
|
// Door/Window sensor
|
||||||
public static class ShellySensorState {
|
public static class ShellySensorState {
|
||||||
|
@ -21,7 +21,7 @@ public abstract class AbstractMessage implements Serializable {
|
|||||||
Enc7,
|
Enc7,
|
||||||
Enc8,
|
Enc8,
|
||||||
EncUcs2,
|
EncUcs2,
|
||||||
EncCustom;
|
EncCustom
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum DcsClass {
|
public enum DcsClass {
|
||||||
|
@ -68,11 +68,11 @@ public interface InverterData {
|
|||||||
|
|
||||||
default double getBatteryVoltage() {
|
default double getBatteryVoltage() {
|
||||||
return Short.MIN_VALUE;
|
return Short.MIN_VALUE;
|
||||||
};
|
}
|
||||||
|
|
||||||
default double getBatteryCurrent() {
|
default double getBatteryCurrent() {
|
||||||
return Short.MIN_VALUE;
|
return Short.MIN_VALUE;
|
||||||
};
|
}
|
||||||
|
|
||||||
default short getBatteryPower() {
|
default short getBatteryPower() {
|
||||||
return Short.MIN_VALUE;
|
return Short.MIN_VALUE;
|
||||||
|
@ -26,7 +26,7 @@ public class GsonSupplier {
|
|||||||
private static final Gson GSON = new Gson();
|
private static final Gson GSON = new Gson();
|
||||||
|
|
||||||
private GsonSupplier() {
|
private GsonSupplier() {
|
||||||
};
|
}
|
||||||
|
|
||||||
public static Gson getInstance() {
|
public static Gson getInstance() {
|
||||||
return GSON;
|
return GSON;
|
||||||
|
@ -531,7 +531,7 @@ public class SqueezeBoxServerHandler extends BaseBridgeHandler {
|
|||||||
this.key = key;
|
this.key = key;
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
private List<KeyValue> decodeKeyValueResponse(String[] response) {
|
private List<KeyValue> decodeKeyValueResponse(String[] response) {
|
||||||
final List<KeyValue> keysAndValues = new ArrayList<>();
|
final List<KeyValue> keysAndValues = new ArrayList<>();
|
||||||
|
@ -46,7 +46,7 @@ abstract class UniFiCache<T extends @Nullable HasId> {
|
|||||||
ID,
|
ID,
|
||||||
IP,
|
IP,
|
||||||
MAC,
|
MAC,
|
||||||
NAME;
|
NAME
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final String SEPARATOR = ":";
|
private static final String SEPARATOR = ":";
|
||||||
|
@ -235,7 +235,7 @@ public abstract class UpnpHandler extends BaseThingHandler implements UpnpIOPart
|
|||||||
*/
|
*/
|
||||||
public void updateDeviceConfig(RemoteDevice device) {
|
public void updateDeviceConfig(RemoteDevice device) {
|
||||||
this.device = device;
|
this.device = device;
|
||||||
};
|
}
|
||||||
|
|
||||||
protected void updateStateDescription(ChannelUID channelUID, List<StateOption> stateOptionList) {
|
protected void updateStateDescription(ChannelUID channelUID, List<StateOption> stateOptionList) {
|
||||||
StateDescription stateDescription = StateDescriptionFragmentBuilder.create().withReadOnly(false)
|
StateDescription stateDescription = StateDescriptionFragmentBuilder.create().withReadOnly(false)
|
||||||
|
@ -203,5 +203,5 @@ public class FunctionalParameters {
|
|||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Arrays.hashCode(values);
|
return Arrays.hashCode(values);
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
@ -242,7 +242,7 @@ public class VeluxBridgeHandler extends ExtendedBaseBridgeHandler implements Vel
|
|||||||
@Override
|
@Override
|
||||||
public VeluxBridgeConfiguration veluxBridgeConfiguration() {
|
public VeluxBridgeConfiguration veluxBridgeConfiguration() {
|
||||||
return veluxBridgeConfiguration;
|
return veluxBridgeConfiguration;
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Information retrieved by {@link VeluxBridgeActuators#getProducts}
|
* Information retrieved by {@link VeluxBridgeActuators#getProducts}
|
||||||
@ -250,7 +250,7 @@ public class VeluxBridgeHandler extends ExtendedBaseBridgeHandler implements Vel
|
|||||||
@Override
|
@Override
|
||||||
public VeluxExistingProducts existingProducts() {
|
public VeluxExistingProducts existingProducts() {
|
||||||
return bridgeParameters.actuators.getChannel().existingProducts;
|
return bridgeParameters.actuators.getChannel().existingProducts;
|
||||||
};
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Information retrieved by {@link VeluxBridgeScenes#getScenes}
|
* Information retrieved by {@link VeluxBridgeScenes#getScenes}
|
||||||
|
@ -186,7 +186,7 @@ public class VerisureSession {
|
|||||||
|
|
||||||
public void setVerisureThingHandler(VerisureThingHandler<?> vth, String deviceId) {
|
public void setVerisureThingHandler(VerisureThingHandler<?> vth, String deviceId) {
|
||||||
verisureHandlers.put(deviceId, vth);
|
verisureHandlers.put(deviceId, vth);
|
||||||
};
|
}
|
||||||
|
|
||||||
public void removeVerisureThingHandler(String deviceId) {
|
public void removeVerisureThingHandler(String deviceId) {
|
||||||
verisureHandlers.remove(deviceId);
|
verisureHandlers.remove(deviceId);
|
||||||
|
@ -110,7 +110,7 @@ public class DummyHomekitAccessory implements HomekitAccessory {
|
|||||||
public void addLinkedService(Service service) {
|
public void addLinkedService(Service service) {
|
||||||
linkedServices.add(service);
|
linkedServices.add(service);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
int id;
|
int id;
|
||||||
String item;
|
String item;
|
||||||
|
@ -314,8 +314,8 @@ public class InMemoryPersistenceService implements ModifiablePersistenceService
|
|||||||
}
|
}
|
||||||
|
|
||||||
private record PersistEntry(ZonedDateTime timestamp, State state) {
|
private record PersistEntry(ZonedDateTime timestamp, State state) {
|
||||||
};
|
}
|
||||||
|
|
||||||
private record PersistItem(TreeSet<PersistEntry> database, Lock lock) {
|
private record PersistItem(TreeSet<PersistEntry> database, Lock lock) {
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user