]> git.basschouten.com Git - openhab-addons.git/commitdiff
Remove redundant modifiers from interfaces (#14843)
authorWouter Born <github@maindrain.net>
Tue, 18 Apr 2023 11:07:04 +0000 (13:07 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Apr 2023 11:07:04 +0000 (13:07 +0200)
Signed-off-by: Wouter Born <github@maindrain.net>
174 files changed:
bundles/org.openhab.binding.adorne/src/main/java/org/openhab/binding/adorne/internal/hub/AdorneHubChangeNotify.java
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaCollectionSchedule.java
bundles/org.openhab.binding.ahawastecollection/src/main/java/org/openhab/binding/ahawastecollection/internal/AhaCollectionScheduleFactory.java
bundles/org.openhab.binding.amazondashbutton/src/main/java/org/openhab/binding/amazondashbutton/internal/capturing/PacketCapturingHandler.java
bundles/org.openhab.binding.amazondashbutton/src/main/java/org/openhab/binding/amazondashbutton/internal/pcap/PcapNetworkInterfaceListener.java
bundles/org.openhab.binding.amazonechocontrol/src/main/java/org/openhab/binding/amazonechocontrol/internal/IWebSocketCommandHandler.java
bundles/org.openhab.binding.ambientweather/src/main/java/org/openhab/binding/ambientweather/internal/processor/ProcessorInterface.java
bundles/org.openhab.binding.amplipi/src/main/java/org/openhab/binding/amplipi/internal/AmpliPiStatusChangeListener.java
bundles/org.openhab.binding.astro/src/main/java/org/openhab/binding/astro/internal/job/Job.java
bundles/org.openhab.binding.atlona/src/main/java/org/openhab/binding/atlona/internal/net/SocketSessionListener.java
bundles/org.openhab.binding.avmfritz/src/main/java/org/openhab/binding/avmfritz/internal/dto/BatteryModel.java
bundles/org.openhab.binding.avmfritz/src/main/java/org/openhab/binding/avmfritz/internal/hardware/callbacks/FritzAhaCallback.java
bundles/org.openhab.binding.benqprojector/src/main/java/org/openhab/binding/benqprojector/internal/connector/BenqProjectorConnector.java
bundles/org.openhab.binding.bluetooth.am43/src/main/java/org/openhab/binding/bluetooth/am43/internal/command/ResponseListener.java
bundles/org.openhab.binding.bluetooth.bluez/src/main/java/org/openhab/binding/bluetooth/bluez/internal/events/BlueZEventListener.java
bundles/org.openhab.binding.bluetooth.daikinmadoka/src/main/java/org/openhab/binding/bluetooth/daikinmadoka/internal/model/commands/ResponseListener.java
bundles/org.openhab.binding.bluetooth.govee/src/main/java/org/openhab/binding/bluetooth/gattserial/GattMessage.java
bundles/org.openhab.binding.bluetooth.govee/src/main/java/org/openhab/binding/bluetooth/gattserial/MessageHandler.java
bundles/org.openhab.binding.bluetooth.govee/src/main/java/org/openhab/binding/bluetooth/gattserial/MessageServicer.java
bundles/org.openhab.binding.bluetooth.govee/src/main/java/org/openhab/binding/bluetooth/gattserial/MessageSupplier.java
bundles/org.openhab.binding.bluetooth/src/main/java/org/openhab/binding/bluetooth/discovery/BluetoothDiscoveryParticipant.java
bundles/org.openhab.binding.bosesoundtouch/src/main/java/org/openhab/binding/bosesoundtouch/internal/AvailableSources.java
bundles/org.openhab.binding.caddx/src/main/java/org/openhab/binding/caddx/internal/CaddxPanelListener.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/AttributeSelection.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/filter/FilterTokenVisitor.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1Api.java
bundles/org.openhab.binding.deutschebahn/src/main/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ApiFactory.java
bundles/org.openhab.binding.deutschebahn/src/test/java/org/openhab/binding/deutschebahn/internal/timetable/TimetablesV1ImplTestHelper.java
bundles/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/lib/manager/ConnectionManager.java
bundles/org.openhab.binding.easee/src/main/java/org/openhab/binding/easee/internal/command/EaseeCommand.java
bundles/org.openhab.binding.ecovacs/src/main/java/org/openhab/binding/ecovacs/internal/api/EcovacsApi.java
bundles/org.openhab.binding.ecovacs/src/main/java/org/openhab/binding/ecovacs/internal/api/EcovacsDevice.java
bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/transceiver/EventListener.java
bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/transceiver/PacketListener.java
bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/transceiver/TransceiverErrorListener.java
bundles/org.openhab.binding.evohome/src/main/java/org/openhab/binding/evohome/internal/RunnableWithTimeout.java
bundles/org.openhab.binding.evohome/src/main/java/org/openhab/binding/evohome/internal/api/models/v2/dto/request/RequestBuilder.java
bundles/org.openhab.binding.evohome/src/main/java/org/openhab/binding/evohome/internal/handler/AccountStatusListener.java
bundles/org.openhab.binding.flicbutton/src/main/java/org/openhab/binding/flicbutton/internal/discovery/FlicButtonDiscoveryService.java
bundles/org.openhab.binding.freebox/src/main/java/org/openhab/binding/freebox/internal/FreeboxDataListener.java
bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/GardenaSmart.java
bundles/org.openhab.binding.gardena/src/main/java/org/openhab/binding/gardena/internal/GardenaSmartEventListener.java
bundles/org.openhab.binding.globalcache/src/main/java/org/openhab/binding/globalcache/internal/command/CommandInterface.java
bundles/org.openhab.binding.harmonyhub/src/main/java/org/openhab/binding/harmonyhub/internal/handler/HubStatusListener.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/HomematicGateway.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/HomematicGatewayAdapter.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/message/RpcRequest.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/message/RpcResponse.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/RpcParser.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/RpcEventListener.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/RpcServer.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/virtual/VirtualDatapointHandler.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/virtual/VirtualGateway.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/converter/TypeConverter.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/HomematicChannelGroupTypeProvider.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/HomematicChannelTypeProvider.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/HomematicConfigDescriptionProvider.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/HomematicThingTypeProvider.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/HomematicTypeGenerator.java
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/type/HomematicThingTypeExcluder.java
bundles/org.openhab.binding.hydrawise/src/main/java/org/openhab/binding/hydrawise/internal/HydrawiseControllerListener.java
bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/driver/DriverListener.java
bundles/org.openhab.binding.insteon/src/main/java/org/openhab/binding/insteon/internal/message/MsgListener.java
bundles/org.openhab.binding.irtrans/src/main/java/org/openhab/binding/irtrans/internal/handler/TransceiverStatusListener.java
bundles/org.openhab.binding.jeelink/src/main/java/org/openhab/binding/jeelink/internal/JeeLinkReadingConverter.java
bundles/org.openhab.binding.jeelink/src/main/java/org/openhab/binding/jeelink/internal/ReadingHandler.java
bundles/org.openhab.binding.jeelink/src/main/java/org/openhab/binding/jeelink/internal/ReadingPublisher.java
bundles/org.openhab.binding.jeelink/src/main/java/org/openhab/binding/jeelink/internal/connection/ConnectionListener.java
bundles/org.openhab.binding.km200/src/main/java/org/openhab/binding/km200/internal/handler/KM200GatewayStatusListener.java
bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/client/DeviceInfoClient.java
bundles/org.openhab.binding.knx/src/main/java/org/openhab/binding/knx/internal/handler/GroupAddressListener.java
bundles/org.openhab.binding.kodi/src/main/java/org/openhab/binding/kodi/internal/KodiEventListener.java
bundles/org.openhab.binding.lametrictime/src/main/java/org/openhab/binding/lametrictime/internal/api/LaMetricTime.java
bundles/org.openhab.binding.lametrictime/src/main/java/org/openhab/binding/lametrictime/internal/api/cloud/LaMetricTimeCloud.java
bundles/org.openhab.binding.lametrictime/src/main/java/org/openhab/binding/lametrictime/internal/api/dto/ApiValue.java
bundles/org.openhab.binding.lametrictime/src/main/java/org/openhab/binding/lametrictime/internal/api/local/LaMetricTimeLocal.java
bundles/org.openhab.binding.lametrictime/src/main/java/org/openhab/binding/lametrictime/internal/handler/LaMetricTimeAppHandler.java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/dto/PacketHandler.java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/listener/LifxPropertiesUpdateListener.java
bundles/org.openhab.binding.lifx/src/main/java/org/openhab/binding/lifx/internal/listener/LifxResponsePacketListener.java
bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/KeypadComponent.java
bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/grxprg/SocketSessionCallback.java
bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/protocol/leap/LeapMessageParserCallbacks.java
bundles/org.openhab.binding.lutron/src/main/java/org/openhab/binding/lutron/internal/radiora/RadioRAConnection.java
bundles/org.openhab.binding.meteostick/src/main/java/org/openhab/binding/meteostick/internal/handler/MeteostickEventListener.java
bundles/org.openhab.binding.mielecloud/src/main/java/org/openhab/binding/mielecloud/internal/auth/OAuthTokenRefreshListener.java
bundles/org.openhab.binding.mielecloud/src/main/java/org/openhab/binding/mielecloud/internal/auth/OAuthTokenRefresher.java
bundles/org.openhab.binding.mielecloud/src/main/java/org/openhab/binding/mielecloud/internal/webservice/MieleWebserviceFactory.java
bundles/org.openhab.binding.modbus.e3dc/src/main/java/org/openhab/binding/modbus/e3dc/internal/modbus/Data.java
bundles/org.openhab.binding.modbus/src/main/java/org/openhab/binding/modbus/discovery/ModbusDiscoveryListener.java
bundles/org.openhab.binding.modbus/src/main/java/org/openhab/binding/modbus/discovery/ModbusDiscoveryParticipant.java
bundles/org.openhab.binding.modbus/src/main/java/org/openhab/binding/modbus/discovery/internal/ModbusThingHandlerDiscoveryService.java
bundles/org.openhab.binding.modbus/src/main/java/org/openhab/binding/modbus/handler/ModbusEndpointThingHandler.java
bundles/org.openhab.binding.monopriceaudio/src/main/java/org/openhab/binding/monopriceaudio/internal/communication/MonopriceAudioMessageEventListener.java
bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/AvailabilityTracker.java
bundles/org.openhab.binding.mybmw/src/main/java/org/openhab/binding/mybmw/internal/handler/ByteResponseCallback.java
bundles/org.openhab.binding.mybmw/src/main/java/org/openhab/binding/mybmw/internal/handler/ResponseCallback.java
bundles/org.openhab.binding.mybmw/src/main/java/org/openhab/binding/mybmw/internal/handler/StringResponseCallback.java
bundles/org.openhab.binding.mycroft/src/main/java/org/openhab/binding/mycroft/internal/channels/ChannelCommandHandler.java
bundles/org.openhab.binding.mynice/src/main/java/org/openhab/binding/mynice/internal/handler/MyNiceDataListener.java
bundles/org.openhab.binding.myq/src/main/java/org/openhab/binding/myq/internal/handler/MyQDeviceHandler.java
bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/LocationEx.java
bundles/org.openhab.binding.netatmo/src/main/java/org/openhab/binding/netatmo/internal/api/dto/NAModule.java
bundles/org.openhab.binding.network/src/main/java/org/openhab/binding/network/internal/PresenceDetectionListener.java
bundles/org.openhab.binding.nibeuplink/src/main/java/org/openhab/binding/nibeuplink/internal/command/NibeUplinkCommand.java
bundles/org.openhab.binding.nikohomecontrol/src/main/java/org/openhab/binding/nikohomecontrol/internal/protocol/NhcActionEvent.java
bundles/org.openhab.binding.nikohomecontrol/src/main/java/org/openhab/binding/nikohomecontrol/internal/protocol/NhcControllerEvent.java
bundles/org.openhab.binding.nikohomecontrol/src/main/java/org/openhab/binding/nikohomecontrol/internal/protocol/NhcEnergyMeterEvent.java
bundles/org.openhab.binding.nikohomecontrol/src/main/java/org/openhab/binding/nikohomecontrol/internal/protocol/NhcThermostatEvent.java
bundles/org.openhab.binding.nuvo/src/main/java/org/openhab/binding/nuvo/internal/communication/NuvoMessageEventListener.java
bundles/org.openhab.binding.opensprinkler/src/main/java/org/openhab/binding/opensprinkler/internal/api/OpenSprinklerApi.java
bundles/org.openhab.binding.oppo/src/main/java/org/openhab/binding/oppo/internal/communication/OppoMessageEventListener.java
bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/protocol/avr/AvrCommand.java
bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/protocol/avr/AvrConnection.java
bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/protocol/avr/AvrResponse.java
bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/protocol/event/AvrDisconnectionListener.java
bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/protocol/event/AvrUpdateListener.java
bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/protocol/states/MuteStateValues.java
bundles/org.openhab.binding.pioneeravr/src/main/java/org/openhab/binding/pioneeravr/internal/protocol/states/PowerStateValues.java
bundles/org.openhab.binding.pjlinkdevice/src/main/java/org/openhab/binding/pjlinkdevice/internal/device/command/Command.java
bundles/org.openhab.binding.pjlinkdevice/src/main/java/org/openhab/binding/pjlinkdevice/internal/device/command/Request.java
bundles/org.openhab.binding.pjlinkdevice/src/main/java/org/openhab/binding/pjlinkdevice/internal/device/command/Response.java
bundles/org.openhab.binding.plugwise/src/main/java/org/openhab/binding/plugwise/internal/listener/PlugwiseStickStatusListener.java
bundles/org.openhab.binding.plugwiseha/src/main/java/org/openhab/binding/plugwiseha/internal/api/model/PlugwiseHAModel.java
bundles/org.openhab.binding.plugwiseha/src/main/java/org/openhab/binding/plugwiseha/internal/api/model/dto/PlugwiseComparableDate.java
bundles/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/internal/connector/PowermaxConnectorInterface.java
bundles/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/internal/message/PowermaxMessageEventListener.java
bundles/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/internal/state/PowermaxPanelSettingsListener.java
bundles/org.openhab.binding.powermax/src/main/java/org/openhab/binding/powermax/internal/state/PowermaxStateEventListener.java
bundles/org.openhab.binding.proteusecometer/src/main/java/org/openhab/binding/proteusecometer/internal/serialport/SerialPortService.java
bundles/org.openhab.binding.pulseaudio/src/main/java/org/openhab/binding/pulseaudio/internal/PulseAudioBindingConfigurationListener.java
bundles/org.openhab.binding.pulseaudio/src/main/java/org/openhab/binding/pulseaudio/internal/handler/DeviceStatusListener.java
bundles/org.openhab.binding.qolsysiq/src/main/java/org/openhab/binding/qolsysiq/internal/handler/QolsysIQChildDiscoveryHandler.java
bundles/org.openhab.binding.radiothermostat/src/main/java/org/openhab/binding/radiothermostat/internal/communication/RadioThermostatEventListener.java
bundles/org.openhab.binding.regoheatpump/src/main/java/org/openhab/binding/regoheatpump/internal/protocol/RegoConnection.java
bundles/org.openhab.binding.regoheatpump/src/main/java/org/openhab/binding/regoheatpump/internal/rego6xx/ResponseParser.java
bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/config/RFXComDeviceConfiguration.java
bundles/org.openhab.binding.rfxcom/src/main/java/org/openhab/binding/rfxcom/internal/messages/RFXComMessageFactory.java
bundles/org.openhab.binding.rotel/src/main/java/org/openhab/binding/rotel/internal/protocol/RotelMessageEventListener.java
bundles/org.openhab.binding.russound/src/main/java/org/openhab/binding/russound/internal/net/SocketSessionListener.java
bundles/org.openhab.binding.satel/src/main/java/org/openhab/binding/satel/internal/command/SatelCommand.java
bundles/org.openhab.binding.satel/src/main/java/org/openhab/binding/satel/internal/types/StateType.java
bundles/org.openhab.binding.seneye/src/main/java/org/openhab/binding/seneye/internal/ReadingsUpdate.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/api/ShellyApiInterface.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/api1/Shelly1CoIoTInterface.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/api1/Shelly1CoapListener.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/api2/Shelly2RpctInterface.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyDeviceListener.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyManagerInterface.java
bundles/org.openhab.binding.shelly/src/main/java/org/openhab/binding/shelly/internal/handler/ShellyThingInterface.java
bundles/org.openhab.binding.sleepiq/src/main/java/org/openhab/binding/sleepiq/internal/SleepIQConfigStatusMessage.java
bundles/org.openhab.binding.sleepiq/src/main/java/org/openhab/binding/sleepiq/internal/api/SleepIQ.java
bundles/org.openhab.binding.sleepiq/src/main/java/org/openhab/binding/sleepiq/internal/handler/BedStatusListener.java
bundles/org.openhab.binding.smartmeter/src/main/java/org/openhab/binding/smartmeter/internal/MeterValueListener.java
bundles/org.openhab.binding.smartthings/src/main/java/org/openhab/binding/smartthings/internal/SmartthingsHubCommand.java
bundles/org.openhab.binding.smsmodem/src/3rdparty/java/org/smslib/callback/IDeviceInformationListener.java
bundles/org.openhab.binding.smsmodem/src/3rdparty/java/org/smslib/callback/IInboundOutboundMessageListener.java
bundles/org.openhab.binding.systeminfo/src/main/java/org/openhab/binding/systeminfo/internal/model/SysteminfoInterface.java
bundles/org.openhab.binding.tellstick/src/main/java/org/openhab/binding/tellstick/internal/handler/DeviceStatusListener.java
bundles/org.openhab.binding.tesla/src/main/java/org/openhab/binding/tesla/internal/throttler/TimeProvider.java
bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/CoapCallback.java
bundles/org.openhab.binding.tradfri/src/main/java/org/openhab/binding/tradfri/internal/DeviceUpdateListener.java
bundles/org.openhab.binding.upnpcontrol/src/main/java/org/openhab/binding/upnpcontrol/internal/queue/UpnpPlaylistsListener.java
bundles/org.openhab.binding.vdr/src/main/java/org/openhab/binding/vdr/internal/svdrp/SVDRPClient.java
bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/bridge/VeluxBridgeInstance.java
bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/bridge/VeluxBridgeProvider.java
bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/bridge/common/BridgeCommunicationProtocol.java
bundles/org.openhab.binding.verisure/src/main/java/org/openhab/binding/verisure/internal/DeviceStatusListener.java
bundles/org.openhab.binding.windcentrale/src/main/java/org/openhab/binding/windcentrale/internal/listener/ThingStatusListener.java
bundles/org.openhab.binding.wled/src/main/java/org/openhab/binding/wled/internal/api/WledApi.java
bundles/org.openhab.binding.xmppclient/src/main/java/org/openhab/binding/xmppclient/internal/handler/XMPPClientMessageSubscriber.java
bundles/org.openhab.binding.yioremote/src/main/java/org/openhab/binding/yioremote/internal/utils/WebsocketInterface.java
bundles/org.openhab.io.openhabcloud/src/main/java/org/openhab/io/openhabcloud/internal/CloudClientListener.java
bundles/org.openhab.persistence.dynamodb/src/main/java/org/openhab/persistence/dynamodb/internal/DynamoDBItemVisitor.java

index e4ff8da46c23565541535801c883c975abe1c26c..4699e26824614e8da7e49ca15bdf59dad230f631 100644 (file)
@@ -29,12 +29,12 @@ public interface AdorneHubChangeNotify {
      * @param onOff new on/off state
      * @param brightness new brightness
      */
-    public void stateChangeNotify(int zoneId, boolean onOff, int brightness);
+    void stateChangeNotify(int zoneId, boolean onOff, int brightness);
 
     /**
      * Notify listener about hub connection change
      *
      * @param connected new connection state
      */
-    public void connectionChangeNotify(boolean connected);
+    void connectionChangeNotify(boolean connected);
 }
index 80ea309df110ff3a55502e05165ea053d1fcb8a2..52d97122757db8720477b1175a0244d9e97b90f5 100644 (file)
@@ -29,5 +29,5 @@ public interface AhaCollectionSchedule {
     /**
      * Returns the next collection dates per {@link WasteType}.
      */
-    public Map<WasteType, CollectionDate> getCollectionDates() throws IOException;
+    Map<WasteType, CollectionDate> getCollectionDates() throws IOException;
 }
index 1ab34e91f33f1df8e27bc45b1b33aee10260f55b..124942063155fe9cb174cd955ff3de78785a3082 100644 (file)
@@ -25,6 +25,6 @@ public interface AhaCollectionScheduleFactory {
     /**
      * Creates a new {@link AhaCollectionSchedule} for the given location.
      */
-    public AhaCollectionSchedule create(final String commune, final String street, final String houseNumber,
+    AhaCollectionSchedule create(final String commune, final String street, final String houseNumber,
             final String houseNumberAddon, final String collectionPlace);
 }
index c3cfeafdbce01c29e74b66440b18d05d0024b6dd..9c249eb7edfebf6acd43223696765e987fc32aa3 100644 (file)
@@ -26,5 +26,5 @@ public interface PacketCapturingHandler {
      *
      * @param macAddress The mac address which sent the packet
      */
-    public void packetCaptured(MacAddress sourceMacAddress);
+    void packetCaptured(MacAddress sourceMacAddress);
 }
index a0e7a8a181350175c5b9de6563325ac7f14c1e54..e9b5e80d68186ff3256ec449092b6e970289c9e6 100644 (file)
@@ -30,12 +30,12 @@ public interface PcapNetworkInterfaceListener {
      *
      * @param newNetworkInterface The added networkInterface
      */
-    public void onPcapNetworkInterfaceAdded(PcapNetworkInterfaceWrapper newNetworkInterface);
+    void onPcapNetworkInterfaceAdded(PcapNetworkInterfaceWrapper newNetworkInterface);
 
     /**
      * This method is called whenever a {@link PcapNetworkInterfaceWrapper} is removed.
      *
      * @param removedNetworkInterface The removed networkInterface
      */
-    public void onPcapNetworkInterfaceRemoved(PcapNetworkInterfaceWrapper removedNetworkInterface);
+    void onPcapNetworkInterfaceRemoved(PcapNetworkInterfaceWrapper removedNetworkInterface);
 }
index 56c16a5dc4657060275191123b54e1e53955c0c0..e5fc324001723e7ac9ee4d5d75044d624392e13e 100644 (file)
@@ -23,5 +23,5 @@ import org.openhab.binding.amazonechocontrol.internal.jsons.JsonPushCommand;
 @NonNullByDefault
 public interface IWebSocketCommandHandler {
 
-    public void webSocketCommandReceived(JsonPushCommand pushCommand);
+    void webSocketCommandReceived(JsonPushCommand pushCommand);
 }
index fa185db573f70b20c871fe33b459d4293dc4fea9..8a2a3cd35abab98b8377d3b67fd65f93de1918e5 100644 (file)
@@ -25,20 +25,20 @@ public interface ProcessorInterface {
     /*
      * Set the channel group Id for the station
      */
-    public void setChannelGroupId();
+    void setChannelGroupId();
 
     /*
      * Set the number of remote sensors supported by the station
      */
-    public void setNumberOfSensors();
+    void setNumberOfSensors();
 
     /*
      * Updates the info channels (i.e. name and location) for a station
      */
-    public void processInfoUpdate(AmbientWeatherStationHandler handler, String station, String name, String location);
+    void processInfoUpdate(AmbientWeatherStationHandler handler, String station, String name, String location);
 
     /*
      * Updates the weather data channels for a station
      */
-    public void processWeatherData(AmbientWeatherStationHandler handler, String station, String jsonData);
+    void processWeatherData(AmbientWeatherStationHandler handler, String station, String jsonData);
 }
index 997035f4088fa05bc7590bae96559d8c9780961a..42173689b494a2e2ff3baf22cf20acbf6163d9d4 100644 (file)
@@ -29,5 +29,5 @@ public interface AmpliPiStatusChangeListener {
      *
      * @param status The current status of the AmpliPi
      */
-    public void receive(Status status);
+    void receive(Status status);
 }
index 29f7772bce8ac03fe640b19f286dda2d7fb81af8..19d47153a41cebc1ea01b1a120531619260063f7 100644 (file)
@@ -40,7 +40,7 @@ import org.slf4j.LoggerFactory;
 public interface Job extends SchedulerRunnable, Runnable {
 
     /** Logger Instance */
-    public final Logger LOGGER = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
+    final Logger LOGGER = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
 
     /**
      * Schedules the provided {@link Job} instance
@@ -50,7 +50,7 @@ public interface Job extends SchedulerRunnable, Runnable {
      * @param job the {@link Job} instance to schedule
      * @param eventAt the {@link Calendar} instance denoting scheduled instant
      */
-    public static void schedule(String thingUID, AstroThingHandler astroHandler, Job job, Calendar eventAt) {
+    static void schedule(String thingUID, AstroThingHandler astroHandler, Job job, Calendar eventAt) {
         try {
             Calendar today = Calendar.getInstance();
             if (isSameDay(eventAt, today) && isTimeGreaterEquals(eventAt, today)) {
@@ -70,7 +70,7 @@ public interface Job extends SchedulerRunnable, Runnable {
      * @param event the event ID
      * @param channelId the channel ID
      */
-    public static void scheduleEvent(String thingUID, AstroThingHandler astroHandler, Calendar eventAt, String event,
+    static void scheduleEvent(String thingUID, AstroThingHandler astroHandler, Calendar eventAt, String event,
             String channelId, boolean configAlreadyApplied) {
         scheduleEvent(thingUID, astroHandler, eventAt, singletonList(event), channelId, configAlreadyApplied);
     }
@@ -84,8 +84,8 @@ public interface Job extends SchedulerRunnable, Runnable {
      * @param events the event IDs to schedule
      * @param channelId the channel ID
      */
-    public static void scheduleEvent(String thingUID, AstroThingHandler astroHandler, Calendar eventAt,
-            List<String> events, String channelId, boolean configAlreadyApplied) {
+    static void scheduleEvent(String thingUID, AstroThingHandler astroHandler, Calendar eventAt, List<String> events,
+            String channelId, boolean configAlreadyApplied) {
         if (events.isEmpty()) {
             return;
         }
@@ -113,7 +113,7 @@ public interface Job extends SchedulerRunnable, Runnable {
      * @param range the {@link Range} instance
      * @param channelId the channel ID
      */
-    public static void scheduleRange(String thingUID, AstroThingHandler astroHandler, Range range, String channelId) {
+    static void scheduleRange(String thingUID, AstroThingHandler astroHandler, Range range, String channelId) {
         final Channel channel = astroHandler.getThing().getChannel(channelId);
         if (channel == null) {
             LOGGER.warn("Cannot find channel '{}' for thing '{}'.", channelId, astroHandler.getThing().getUID());
@@ -134,7 +134,7 @@ public interface Job extends SchedulerRunnable, Runnable {
         scheduleEvent(thingUID, astroHandler, end, EVENT_END, channelId, true);
     }
 
-    public static Range adjustRangeToConfig(Range range, AstroChannelConfig config) {
+    static Range adjustRangeToConfig(Range range, AstroChannelConfig config) {
         Calendar start = range.getStart();
         Calendar end = range.getEnd();
 
@@ -161,7 +161,7 @@ public interface Job extends SchedulerRunnable, Runnable {
      * @param astroHandler the {@link AstroThingHandler} instance
      * @param eventAt the {@link Calendar} instance denoting scheduled instant
      */
-    public static void schedulePublishPlanet(String thingUID, AstroThingHandler astroHandler, Calendar eventAt) {
+    static void schedulePublishPlanet(String thingUID, AstroThingHandler astroHandler, Calendar eventAt) {
         Job publishJob = new PublishPlanetJob(thingUID);
         schedule(thingUID, astroHandler, publishJob, eventAt);
     }
@@ -174,7 +174,7 @@ public interface Job extends SchedulerRunnable, Runnable {
      * @param sunPhaseName {@link SunPhaseName} instance
      * @param eventAt the {@link Calendar} instance denoting scheduled instant
      */
-    public static void scheduleSunPhase(String thingUID, AstroThingHandler astroHandler, SunPhaseName sunPhaseName,
+    static void scheduleSunPhase(String thingUID, AstroThingHandler astroHandler, SunPhaseName sunPhaseName,
             Calendar eventAt) {
         Job sunPhaseJob = new SunPhaseJob(thingUID, sunPhaseName);
         schedule(thingUID, astroHandler, sunPhaseJob, eventAt);
@@ -183,5 +183,5 @@ public interface Job extends SchedulerRunnable, Runnable {
     /**
      * Returns the thing UID that is associated with this {@link Job} (cannot be {@code null})
      */
-    public String getThingUID();
+    String getThingUID();
 }
index 727f87e86ac13eb1cfd6a1e68ec5137f5b77b499..5177696fa243d233b485cf5c17dfa389b38cda75 100644 (file)
@@ -27,12 +27,12 @@ public interface SocketSessionListener {
      *
      * @param response a non-null, possibly empty response
      */
-    public void responseReceived(String response);
+    void responseReceived(String response);
 
     /**
      * Called when a command finished with an exception or a general exception occurred while reading
      *
      * @param e a non-null exception
      */
-    public void responseException(Exception e);
+    void responseException(Exception e);
 }
index 0491e1b8877e23ed2f2f3dcee80f8d1743ab1d5e..9f948c70486d60914bb3cd445287bad32ca5bceb 100644 (file)
@@ -21,8 +21,8 @@ import java.math.BigDecimal;
  */
 public interface BatteryModel {
 
-    public static final BigDecimal BATTERY_OFF = BigDecimal.ZERO;
-    public static final BigDecimal BATTERY_ON = BigDecimal.ONE;
+    static final BigDecimal BATTERY_OFF = BigDecimal.ZERO;
+    static final BigDecimal BATTERY_ON = BigDecimal.ONE;
 
     BigDecimal getBattery();
 
index bf27d789a5718a7d7d3970e6625b7d479a2c1434..c8a69c8907207bab51fb130c7489f3f5c603ef76 100644 (file)
@@ -31,12 +31,12 @@ public interface FritzAhaCallback {
      *
      * @return URI path as String
      */
-    public String getPath();
+    String getPath();
 
     /**
      * Get the query String
      *
      * @return Query string as String
      */
-    public String getArgs();
+    String getArgs();
 }
index 44049eec9369728552881e47b9ed1e9291efa546..bd13689c62db837540d80df4e823ac8d0605a73c 100644 (file)
@@ -28,11 +28,11 @@ import org.openhab.binding.benqprojector.internal.BenqProjectorException;
  */
 @NonNullByDefault
 public interface BenqProjectorConnector {
-    public static final int TIMEOUT_MS = 5 * 1000;
+    static final int TIMEOUT_MS = 5 * 1000;
 
-    public static final String START = "\r*";
-    public static final String END = "#\r";
-    public static final String BLANK = "";
+    static final String START = "\r*";
+    static final String END = "#\r";
+    static final String BLANK = "";
 
     /**
      * Procedure for connecting to projector.
index 931c48bbdc9d830b6182b0db65a10416b02870fa..89cf6e440c7a72d065f86f7d8fcaca629400c0eb 100644 (file)
@@ -22,13 +22,13 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface ResponseListener {
 
-    public void receivedResponse(GetBatteryLevelCommand command);
+    void receivedResponse(GetBatteryLevelCommand command);
 
-    public void receivedResponse(GetAllCommand command);
+    void receivedResponse(GetAllCommand command);
 
-    public void receivedResponse(GetLightLevelCommand command);
+    void receivedResponse(GetLightLevelCommand command);
 
-    public void receivedResponse(GetPositionCommand command);
+    void receivedResponse(GetPositionCommand command);
 
-    public void receivedResponse(GetSpeedCommand command);
+    void receivedResponse(GetSpeedCommand command);
 }
index f0a238f372aa037b332af393fff1923c14ccf0c8..650a4ee8c307d52a6b7d5eada34ce34f61c7ac4a 100644 (file)
@@ -23,45 +23,45 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface BlueZEventListener {
 
-    public void onDBusBlueZEvent(BlueZEvent event);
+    void onDBusBlueZEvent(BlueZEvent event);
 
-    public default void onDiscoveringChanged(AdapterDiscoveringChangedEvent event) {
+    default void onDiscoveringChanged(AdapterDiscoveringChangedEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onPoweredChange(AdapterPoweredChangedEvent event) {
+    default void onPoweredChange(AdapterPoweredChangedEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onRssiUpdate(RssiEvent event) {
+    default void onRssiUpdate(RssiEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onTxPowerUpdate(TXPowerEvent event) {
+    default void onTxPowerUpdate(TXPowerEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onCharacteristicNotify(CharacteristicUpdateEvent event) {
+    default void onCharacteristicNotify(CharacteristicUpdateEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onManufacturerDataUpdate(ManufacturerDataEvent event) {
+    default void onManufacturerDataUpdate(ManufacturerDataEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onServiceDataUpdate(ServiceDataEvent event) {
+    default void onServiceDataUpdate(ServiceDataEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onConnectedStatusUpdate(ConnectedEvent event) {
+    default void onConnectedStatusUpdate(ConnectedEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onNameUpdate(NameEvent event) {
+    default void onNameUpdate(NameEvent event) {
         onDBusBlueZEvent(event);
     }
 
-    public default void onServicesResolved(ServicesResolvedEvent event) {
+    default void onServicesResolved(ServicesResolvedEvent event) {
         onDBusBlueZEvent(event);
     }
 }
index 451a3ec116ab088c3d90c3b84e2e0e34ebc0d0d9..416315f17dba5058d9da90c207055b0647531eb2 100644 (file)
@@ -23,33 +23,33 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface ResponseListener {
 
-    public void receivedResponse(byte[] bytes);
+    void receivedResponse(byte[] bytes);
 
-    public void receivedResponse(GetVersionCommand command);
+    void receivedResponse(GetVersionCommand command);
 
-    public void receivedResponse(GetFanspeedCommand command);
+    void receivedResponse(GetFanspeedCommand command);
 
-    public void receivedResponse(GetOperationmodeCommand command);
+    void receivedResponse(GetOperationmodeCommand command);
 
-    public void receivedResponse(GetPowerstateCommand command);
+    void receivedResponse(GetPowerstateCommand command);
 
-    public void receivedResponse(GetSetpointCommand command);
+    void receivedResponse(GetSetpointCommand command);
 
-    public void receivedResponse(GetIndoorOutoorTemperatures command);
+    void receivedResponse(GetIndoorOutoorTemperatures command);
 
-    public void receivedResponse(SetPowerstateCommand command);
+    void receivedResponse(SetPowerstateCommand command);
 
-    public void receivedResponse(SetSetpointCommand command);
+    void receivedResponse(SetSetpointCommand command);
 
-    public void receivedResponse(SetOperationmodeCommand command);
+    void receivedResponse(SetOperationmodeCommand command);
 
-    public void receivedResponse(SetFanspeedCommand command);
+    void receivedResponse(SetFanspeedCommand command);
 
-    public void receivedResponse(GetOperationHoursCommand command);
+    void receivedResponse(GetOperationHoursCommand command);
 
-    public void receivedResponse(GetEyeBrightnessCommand command);
+    void receivedResponse(GetEyeBrightnessCommand command);
 
-    public void receivedResponse(SetEyeBrightnessCommand command);
+    void receivedResponse(SetEyeBrightnessCommand command);
 
-    public void receivedResponse(GetCleanFilterIndicatorCommand command);
+    void receivedResponse(GetCleanFilterIndicatorCommand command);
 }
index 4018f3c65c58043653b6fe8b45ad5a835840ba2f..6d735a020c032bf05dca2ade6a10da15230d2be9 100644 (file)
@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface GattMessage {
 
-    public byte[] getPayload();
+    byte[] getPayload();
 }
index 9a840bda082c9146f586ba76ebb81d2354c3f669..9d94ad9eb9b69ceb82e406119315713f095a94ff 100644 (file)
@@ -26,12 +26,12 @@ public interface MessageHandler<T extends GattMessage, R extends GattMessage> {
      * @param payload
      * @return true if this handler should be removed from the handler list
      */
-    public boolean handleReceivedMessage(R message);
+    boolean handleReceivedMessage(R message);
 
     /**
      *
      * @param payload
      * @return true if this handler should be removed from the handler list
      */
-    public boolean handleFailedMessage(T message, Throwable th);
+    boolean handleFailedMessage(T message, Throwable th);
 }
index e5f7a3c395452a1ede2382e4d2605139767ded0b..c9b0fcfe0909c64321934a3095a43c964c23e9f4 100644 (file)
@@ -24,5 +24,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 public interface MessageServicer<T extends GattMessage, R extends GattMessage>
         extends MessageHandler<T, R>, MessageSupplier<T> {
 
-    public long getTimeout(TimeUnit unit);
+    long getTimeout(TimeUnit unit);
 }
index 753313561b2079a84a22b4a9c4695f9e37208c61..450248d2fc6585acc16639856bcd5b9a8eaa0cae 100644 (file)
@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface MessageSupplier<M extends GattMessage> {
 
-    public M createMessage();
+    M createMessage();
 }
index 36a4bee7a67b9684939be74f14c515883ffbf984..2990450a615de14447bb1c287d56f52296ea2b49 100644 (file)
@@ -37,7 +37,7 @@ public interface BluetoothDiscoveryParticipant {
      *
      * @return a set of thing type UIDs for which results can be created
      */
-    public Set<ThingTypeUID> getSupportedThingTypeUIDs();
+    Set<ThingTypeUID> getSupportedThingTypeUIDs();
 
     /**
      * Creates a discovery result for a Bluetooth device
@@ -46,7 +46,8 @@ public interface BluetoothDiscoveryParticipant {
      * @return the according discovery result or <code>null</code>, if device is not
      *         supported by this participant
      */
-    public @Nullable DiscoveryResult createResult(BluetoothDiscoveryDevice device);
+    @Nullable
+    DiscoveryResult createResult(BluetoothDiscoveryDevice device);
 
     /**
      * Returns the thing UID for a Bluetooth device
@@ -54,7 +55,8 @@ public interface BluetoothDiscoveryParticipant {
      * @param device the Bluetooth device
      * @return a thing UID or <code>null</code>, if the device is not supported by this participant
      */
-    public @Nullable ThingUID getThingUID(BluetoothDiscoveryDevice device);
+    @Nullable
+    ThingUID getThingUID(BluetoothDiscoveryDevice device);
 
     /**
      * Returns true if this participant requires the device to be connected before it can produce a
@@ -70,7 +72,7 @@ public interface BluetoothDiscoveryParticipant {
      * @param device the Bluetooth device
      * @return true if a connection is required before calling {@link createResult(BluetoothDevice)}
      */
-    public default boolean requiresConnection(BluetoothDiscoveryDevice device) {
+    default boolean requiresConnection(BluetoothDiscoveryDevice device) {
         return false;
     }
 
@@ -87,7 +89,7 @@ public interface BluetoothDiscoveryParticipant {
      * @param result the DiscoveryResult to post-process
      * @param publisher the consumer to publish additional results to.
      */
-    public default void publishAdditionalResults(DiscoveryResult result,
+    default void publishAdditionalResults(DiscoveryResult result,
             BiConsumer<BluetoothAdapter, DiscoveryResult> publisher) {
         // do nothing by default
     }
@@ -98,7 +100,7 @@ public interface BluetoothDiscoveryParticipant {
      *
      * @return the order of this participant, default 0
      */
-    public default int order() {
+    default int order() {
         return 0;
     }
 }
index b0b70d2336c16f1c05805c8b3d65b2fb4b20eb12..7995ea053ad052e4dad851c7f763f16e62084579 100644 (file)
@@ -23,43 +23,43 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface AvailableSources {
 
-    public boolean isBluetoothAvailable();
+    boolean isBluetoothAvailable();
 
-    public boolean isAUXAvailable();
+    boolean isAUXAvailable();
 
-    public boolean isAUX1Available();
+    boolean isAUX1Available();
 
-    public boolean isAUX2Available();
+    boolean isAUX2Available();
 
-    public boolean isAUX3Available();
+    boolean isAUX3Available();
 
-    public boolean isTVAvailable();
+    boolean isTVAvailable();
 
-    public boolean isHDMI1Available();
+    boolean isHDMI1Available();
 
-    public boolean isInternetRadioAvailable();
+    boolean isInternetRadioAvailable();
 
-    public boolean isStoredMusicAvailable();
+    boolean isStoredMusicAvailable();
 
-    public boolean isBassAvailable();
+    boolean isBassAvailable();
 
-    public void setAUXAvailable(boolean aux);
+    void setAUXAvailable(boolean aux);
 
-    public void setAUX1Available(boolean aux1);
+    void setAUX1Available(boolean aux1);
 
-    public void setAUX2Available(boolean aux2);
+    void setAUX2Available(boolean aux2);
 
-    public void setAUX3Available(boolean aux3);
+    void setAUX3Available(boolean aux3);
 
-    public void setStoredMusicAvailable(boolean storedMusic);
+    void setStoredMusicAvailable(boolean storedMusic);
 
-    public void setInternetRadioAvailable(boolean internetRadio);
+    void setInternetRadioAvailable(boolean internetRadio);
 
-    public void setBluetoothAvailable(boolean bluetooth);
+    void setBluetoothAvailable(boolean bluetooth);
 
-    public void setTVAvailable(boolean tv);
+    void setTVAvailable(boolean tv);
 
-    public void setHDMI1Available(boolean hdmi1);
+    void setHDMI1Available(boolean hdmi1);
 
-    public void setBassAvailable(boolean bass);
+    void setBassAvailable(boolean bass);
 }
index 8c88444da36e07b4301b843faa8c8ff94425adef..dc09d7c1fc092d67c949088775fcb648d8e00108 100644 (file)
@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface CaddxPanelListener {
-    public void caddxMessage(CaddxMessage message);
+    void caddxMessage(CaddxMessage message);
 }
index 3c2248075ee2c8b23ba06c36b0f24b38079a4057..cc610c92e328f23937d45dbe1bf76a741c09cb88 100644 (file)
@@ -31,17 +31,17 @@ public interface AttributeSelection {
      * Returns the value for this attribute.
      */
     @Nullable
-    public abstract Object getValue(TimetableStop stop);
+    Object getValue(TimetableStop stop);
 
     /**
      * Returns the {@link State} that should be set for the channels'value for this attribute.
      */
     @Nullable
-    public abstract State getState(TimetableStop stop);
+    State getState(TimetableStop stop);
 
     /**
      * Returns a list of values as string list.
      * Returns empty list if value is not present, singleton list if attribute is not single-valued.
      */
-    public abstract List<String> getStringValues(TimetableStop t);
+    List<String> getStringValues(TimetableStop t);
 }
index 1d1440d65c85c09c962fd212e93c7689c97ab8ee..8c69214749f26ea573f4ec0608a60ae8e43ffaeb 100644 (file)
@@ -27,25 +27,25 @@ public interface FilterTokenVisitor<R> {
     /**
      * Handles {@link ChannelNameEquals}.
      */
-    public abstract R handle(ChannelNameEquals equals) throws FilterParserException;
+    R handle(ChannelNameEquals equals) throws FilterParserException;
 
     /**
      * Handles {@link OrOperator}.
      */
-    public abstract R handle(OrOperator operator) throws FilterParserException;
+    R handle(OrOperator operator) throws FilterParserException;
 
     /**
      * Handles {@link AndOperator}.
      */
-    public abstract R handle(AndOperator operator) throws FilterParserException;
+    R handle(AndOperator operator) throws FilterParserException;
 
     /**
      * Handles {@link BracketOpenToken}.
      */
-    public abstract R handle(BracketOpenToken token) throws FilterParserException;
+    R handle(BracketOpenToken token) throws FilterParserException;
 
     /**
      * Handles {@link BracketCloseToken}.
      */
-    public abstract R handle(BracketCloseToken token) throws FilterParserException;
+    R handle(BracketCloseToken token) throws FilterParserException;
 }
index 107810c63ef047c2a2f062f3b0e17ac6721db2ce..cb396c4ac088c438bc435c1beb15ebf88b532148 100644 (file)
@@ -51,7 +51,7 @@ public interface TimetablesV1Api {
      *
      * @return The {@link Timetable} containing the planned arrivals and departues.
      */
-    public abstract Timetable getPlan(String evaNo, Date time) throws IOException;
+    Timetable getPlan(String evaNo, Date time) throws IOException;
 
     /**
      * Requests all known changes in the timetable for the given station.
@@ -75,7 +75,7 @@ public interface TimetablesV1Api {
      *
      * @return The {@link Timetable} containing all known changes for the given station.
      */
-    public abstract Timetable getFullChanges(String evaNo) throws IOException;
+    Timetable getFullChanges(String evaNo) throws IOException;
 
     /**
      * Requests the timetable with the planned data for the given station and time.
@@ -97,5 +97,5 @@ public interface TimetablesV1Api {
      *
      * @return The {@link Timetable} containing recent changes (from last two minutes) for the given station.
      */
-    public abstract Timetable getRecentChanges(String evaNo) throws IOException;
+    Timetable getRecentChanges(String evaNo) throws IOException;
 }
index 2bae31a8ed3942d297344d4fd407e2702bc0f74c..08169c69ab60daf75b65f03fe35a31b435eb156c 100644 (file)
@@ -28,6 +28,6 @@ public interface TimetablesV1ApiFactory {
     /**
      * Creates a new instance of the {@link TimetablesV1Api}.
      */
-    public abstract TimetablesV1Api create(final String clientId, final String clientSecret,
-            final HttpCallable httpCallable) throws JAXBException;
+    TimetablesV1Api create(final String clientId, final String clientSecret, final HttpCallable httpCallable)
+            throws JAXBException;
 }
index 25788fa6f5cd69c06b6f85de2a4112324593dbc6..4b73bd3333ecc85056095a43496d75e48a793ec7 100644 (file)
@@ -27,16 +27,16 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface TimetablesV1ImplTestHelper {
 
-    public static final String EVA_LEHRTE = "8000226";
-    public static final String EVA_HANNOVER_HBF = "8000152";
-    public static final String CLIENT_ID = "bdwrpmxuo6157jrekftlbcc6ju9awo";
-    public static final String CLIENT_SECRET = "354c8161cd7fb0936c840240280c131e";
+    static final String EVA_LEHRTE = "8000226";
+    static final String EVA_HANNOVER_HBF = "8000152";
+    static final String CLIENT_ID = "bdwrpmxuo6157jrekftlbcc6ju9awo";
+    static final String CLIENT_SECRET = "354c8161cd7fb0936c840240280c131e";
 
     /**
      * Creates a {@link TimetablesApiTestModule} that uses http response data from file system.
      * Uses default-testdata from directory /timetablesData
      */
-    public default TimetablesApiTestModule createApiWithTestdata() throws Exception {
+    default TimetablesApiTestModule createApiWithTestdata() throws Exception {
         return this.createApiWithTestdata("/timetablesData");
     }
 
@@ -45,7 +45,7 @@ public interface TimetablesV1ImplTestHelper {
      * 
      * @param dataDirectory Directory within test-resources containing the stub-data.
      */
-    public default TimetablesApiTestModule createApiWithTestdata(String dataDirectory) throws Exception {
+    default TimetablesApiTestModule createApiWithTestdata(String dataDirectory) throws Exception {
         final URL timetablesData = getClass().getResource(dataDirectory);
         assertNotNull(timetablesData);
         final File testDataDir = new File(timetablesData.toURI());
index 84371c574ac385482b89d6f5b38a4665de505c09..7a5d5bae906a5186b977f219e7d6b965680c5774 100644 (file)
@@ -25,13 +25,13 @@ import org.openhab.binding.digitalstrom.internal.lib.serverconnection.HttpTransp
  */
 public interface ConnectionManager {
 
-    public static final int GENERAL_EXCEPTION = -1;
-    public static final int MALFORMED_URL_EXCEPTION = -2;
-    public static final int CONNECTION_EXCEPTION = -3;
-    public static final int SOCKET_TIMEOUT_EXCEPTION = -4;
-    public static final int UNKNOWN_HOST_EXCEPTION = -5;
-    public static final int AUTHENTIFICATION_PROBLEM = -6;
-    public static final int SSL_HANDSHAKE_EXCEPTION = -7;
+    static final int GENERAL_EXCEPTION = -1;
+    static final int MALFORMED_URL_EXCEPTION = -2;
+    static final int CONNECTION_EXCEPTION = -3;
+    static final int SOCKET_TIMEOUT_EXCEPTION = -4;
+    static final int UNKNOWN_HOST_EXCEPTION = -5;
+    static final int AUTHENTIFICATION_PROBLEM = -6;
+    static final int SSL_HANDSHAKE_EXCEPTION = -7;
 
     /**
      * Returns the {@link HttpTransport} to execute queries or special commands on the digitalSTROM-Server.
index 0e1b70d7d4a5dd49ea5290b57c9702905a293db7..57fcaa4ad3c86e7645fb68eee367960bb4ecf19c 100644 (file)
@@ -43,5 +43,5 @@ public interface EaseeCommand extends SuccessListener, FailureListener, ContentL
      *
      * @param resultProcessor
      */
-    public void registerResultProcessor(JsonResultProcessor resultProcessor);
+    void registerResultProcessor(JsonResultProcessor resultProcessor);
 }
index b226bb636124ccb92f758b975a2b00d70630da60..b2068384b996980c0b0c740c86fc498e4f989319 100644 (file)
@@ -23,11 +23,11 @@ import org.openhab.binding.ecovacs.internal.api.impl.EcovacsApiImpl;
  */
 @NonNullByDefault
 public interface EcovacsApi {
-    public static EcovacsApi create(HttpClient httpClient, EcovacsApiConfiguration configuration) {
+    static EcovacsApi create(HttpClient httpClient, EcovacsApiConfiguration configuration) {
         return new EcovacsApiImpl(httpClient, configuration);
     }
 
-    public void loginAndGetAccessToken() throws EcovacsApiException, InterruptedException;
+    void loginAndGetAccessToken() throws EcovacsApiException, InterruptedException;
 
-    public List<EcovacsDevice> getDevices() throws EcovacsApiException, InterruptedException;
+    List<EcovacsDevice> getDevices() throws EcovacsApiException, InterruptedException;
 }
index e74e3f496457357590ef76378974905f5c95ee5d..5d938d736e7058be220b48a3e70af277888f48b6 100644 (file)
@@ -27,7 +27,7 @@ import org.openhab.binding.ecovacs.internal.api.model.DeviceCapability;
  */
 @NonNullByDefault
 public interface EcovacsDevice {
-    public interface EventListener {
+    interface EventListener {
         void onFirmwareVersionChanged(EcovacsDevice device, String fwVersion);
 
         void onBatteryLevelUpdated(EcovacsDevice device, int newLevelPercent);
index 213b9d5124634a4cd445af37329d841e3f5a65f7..21f82cf694488e19f8b7bf4328bc55c3eb06e90d 100644 (file)
@@ -21,5 +21,5 @@ import org.openhab.binding.enocean.internal.messages.EventMessage;
  */
 @NonNullByDefault
 public interface EventListener {
-    public void eventReceived(EventMessage event);
+    void eventReceived(EventMessage event);
 }
index 94caf5c9cd4d0b9712886ce8c27e5314114f55d4..0a3151d54ecc2f905207c07d3f8081711842bbc9 100644 (file)
@@ -22,7 +22,7 @@ import org.openhab.binding.enocean.internal.messages.BasePacket;
 @NonNullByDefault
 public interface PacketListener {
 
-    public void packetReceived(BasePacket packet);
+    void packetReceived(BasePacket packet);
 
-    public long getEnOceanIdToListenTo();
+    long getEnOceanIdToListenTo();
 }
index 99b6f452b917db36d35c9f5b64819135d60e7cbe..ce40945b55a5acaad5ec2ba4f33e5302e3335d15 100644 (file)
@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface TransceiverErrorListener {
 
-    public void errorOccured(Throwable exception);
+    void errorOccured(Throwable exception);
 }
index ea7b90a15828d28cc14c8dbeb6e70d3bff1e9db8..1774c3dc598785697aaae3e170e0451fd7b93da2 100644 (file)
@@ -25,5 +25,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface RunnableWithTimeout {
 
-    public abstract void run() throws TimeoutException;
+    void run() throws TimeoutException;
 }
index 4341688a7b99be423ed17d968f30b02f6b1ed034..fc9b05e65e323ffd7aa7aed0d036c94161473a73 100644 (file)
@@ -29,5 +29,5 @@ public interface AccountStatusListener {
      * 
      * @param status The new status of the account thing
      */
-    public void accountStatusChanged(ThingStatus status);
+    void accountStatusChanged(ThingStatus status);
 }
index 72476e1fefa9fb013492970526951b0b54e7c6f2..68eecbe7c16105451a7206ee42bb4014498669d6 100644 (file)
@@ -33,9 +33,9 @@ public interface FlicButtonDiscoveryService extends DiscoveryService {
      * @param bdaddr Bluetooth address of the discovered Flic button
      * @return UID that was created by the discovery service
      */
-    public ThingUID flicButtonDiscovered(Bdaddr bdaddr);
+    ThingUID flicButtonDiscovered(Bdaddr bdaddr);
 
-    public void activate(FlicClient client);
+    void activate(FlicClient client);
 
-    public void deactivate();
+    void deactivate();
 }
index 7af9b1b0044757409e54e0a3c440c29c0473b46a..d6b027b4ee5186cbf58787c2a0d54ee101fd8831 100644 (file)
@@ -39,6 +39,6 @@ public interface FreeboxDataListener {
      * @param lanHosts the LAN data received from the Freebox server.
      * @param airPlayDevices the list of AirPlay devices received from the Freebox server.
      */
-    public void onDataFetched(ThingUID bridge, @Nullable List<FreeboxLanHost> lanHosts,
+    void onDataFetched(ThingUID bridge, @Nullable List<FreeboxLanHost> lanHosts,
             @Nullable List<FreeboxAirMediaReceiver> airPlayDevices);
 }
index e8bda94154d6a63c2e47a118baa390570a1254b0..b5fca4829d78bf5b9fa0e195be5260b3fa4c7a4c 100644 (file)
@@ -32,30 +32,30 @@ public interface GardenaSmart {
     /**
      * Disposes Gardena smart system.
      */
-    public void dispose();
+    void dispose();
 
     /**
      * Returns all devices from all locations.
      */
-    public Collection<Device> getAllDevices();
+    Collection<Device> getAllDevices();
 
     /**
      * Returns a device with the given id.
      */
-    public Device getDevice(String deviceId) throws GardenaDeviceNotFoundException;
+    Device getDevice(String deviceId) throws GardenaDeviceNotFoundException;
 
     /**
      * Sends a command to Gardena smart system.
      */
-    public void sendCommand(DataItem<?> dataItem, GardenaCommand gardenaCommand) throws GardenaException;
+    void sendCommand(DataItem<?> dataItem, GardenaCommand gardenaCommand) throws GardenaException;
 
     /**
      * Returns the id.
      */
-    public String getId();
+    String getId();
 
     /**
      * Restarts all WebSocket.
      */
-    public void restartWebsockets();
+    void restartWebsockets();
 }
index e91fdd54226bf2e38db5a1fdefe52bfa2e50625d..9ab7fee61efaa4bfb9000a6e0e9dc6d12e80f061 100644 (file)
@@ -26,15 +26,15 @@ public interface GardenaSmartEventListener {
     /**
      * Called when a device has been updated.
      */
-    public void onDeviceUpdated(Device device);
+    void onDeviceUpdated(Device device);
 
     /**
      * Called when a new device has been detected.
      */
-    public void onNewDevice(Device device);
+    void onNewDevice(Device device);
 
     /**
      * Called when an unrecoverable error occurs.
      */
-    public void onError();
+    void onError();
 }
index c1b2a61f20844cd67e32430e6f3476660050ba83..6a90acacea56a91f1a7ca3d4a09467c96f09f625 100644 (file)
@@ -24,27 +24,27 @@ public interface CommandInterface {
      *
      * @return module number as String
      */
-    public String getModule();
+    String getModule();
 
     /**
      * Get the connector number to which the command will be sent
      *
      * @return connector number as String
      */
-    public String getConnector();
+    String getConnector();
 
     /**
      * Used by command implementations to parse the device's response
      */
-    abstract void parseSuccessfulReply();
+    void parseSuccessfulReply();
 
     /*
      * Used by command implementations to report a successful command execution
      */
-    abstract void logSuccess();
+    void logSuccess();
 
     /*
      * Used by command implementations to report a failed command execution
      */
-    abstract void logFailure();
+    void logFailure();
 }
index 55e65e941ff352f7c6d5a33d9eddd3142d771510..24784da311aeda2f6d2525f84f597d38970ce5c2 100644 (file)
@@ -24,5 +24,5 @@ import org.openhab.core.thing.ThingStatus;
  */
 @NonNullByDefault
 public interface HubStatusListener {
-    public void hubStatusChanged(ThingStatus status);
+    void hubStatusChanged(ThingStatus status);
 }
index b2a1ecb7dead1c7c869050dcfa2d2a21aa7cc02f..b2253426a4ad128bf5910a30330f709a1604ba7e 100644 (file)
@@ -31,54 +31,54 @@ public interface HomematicGateway {
     /**
      * Initializes the Homematic gateway and starts the watchdog thread.
      */
-    public void initialize() throws IOException;
+    void initialize() throws IOException;
 
     /**
      * Disposes the HomematicGateway and stops everything.
      */
-    public void dispose();
+    void dispose();
 
     /**
      * Returns the cached datapoint.
      */
-    public HmDatapoint getDatapoint(HmDatapointInfo dpInfo) throws HomematicClientException;
+    HmDatapoint getDatapoint(HmDatapointInfo dpInfo) throws HomematicClientException;
 
     /**
      * Returns the cached device.
      */
-    public HmDevice getDevice(String address) throws HomematicClientException;
+    HmDevice getDevice(String address) throws HomematicClientException;
 
     /**
      * Cancel loading all device metadata.
      */
-    public void cancelLoadAllDeviceMetadata();
+    void cancelLoadAllDeviceMetadata();
 
     /**
      * Loads all device, channel and datapoint metadata from the gateway.
      */
-    public void loadAllDeviceMetadata() throws IOException;
+    void loadAllDeviceMetadata() throws IOException;
 
     /**
      * Loads all values into the given channel.
      */
-    public void loadChannelValues(HmChannel channel) throws IOException;
+    void loadChannelValues(HmChannel channel) throws IOException;
 
     /**
      * Loads the value of the given {@link HmDatapoint} from the device.
      * 
      * @param dp The HmDatapoint that shall be loaded
      */
-    public void loadDatapointValue(HmDatapoint dp) throws IOException;
+    void loadDatapointValue(HmDatapoint dp) throws IOException;
 
     /**
      * Reenumerates the set of VALUES datapoints for the given channel.
      */
-    public void updateChannelValueDatapoints(HmChannel channel) throws IOException;
+    void updateChannelValueDatapoints(HmChannel channel) throws IOException;
 
     /**
      * Prepares the device for reloading all values from the gateway.
      */
-    public void triggerDeviceValuesReload(HmDevice device);
+    void triggerDeviceValuesReload(HmDevice device);
 
     /**
      * Sends the datapoint to the Homematic gateway or executes virtual datapoints.
@@ -91,13 +91,13 @@ public interface HomematicGateway {
      *            {@link HomematicBindingConstants#RX_WAKEUP_MODE "WAKEUP"} for wakeup mode, or null for the default
      *            mode)
      */
-    public void sendDatapoint(HmDatapoint dp, HmDatapointConfig dpConfig, Object newValue, String rxMode)
+    void sendDatapoint(HmDatapoint dp, HmDatapointConfig dpConfig, Object newValue, String rxMode)
             throws IOException, HomematicClientException;
 
     /**
      * Returns the id of the HomematicGateway.
      */
-    public String getId();
+    String getId();
 
     /**
      * Set install mode of homematic controller. During install mode the
@@ -108,7 +108,7 @@ public interface HomematicGateway {
      * @param seconds specify how long the install mode should last
      * @throws IOException if RpcClient fails to propagate command
      */
-    public void setInstallMode(boolean enable, int seconds) throws IOException;
+    void setInstallMode(boolean enable, int seconds) throws IOException;
 
     /**
      * Get current install mode of homematic contoller
@@ -118,17 +118,17 @@ public interface HomematicGateway {
      *         <i>install_mode==false</i>
      * @throws IOException if RpcClient fails to propagate command
      */
-    public int getInstallMode() throws IOException;
+    int getInstallMode() throws IOException;
 
     /**
      * Loads all rssi values from the gateway.
      */
-    public void loadRssiValues() throws IOException;
+    void loadRssiValues() throws IOException;
 
     /**
      * Starts the connection and event tracker threads.
      */
-    public void startWatchdogs();
+    void startWatchdogs();
 
     /**
      * Deletes the device from the gateway.
@@ -138,5 +138,5 @@ public interface HomematicGateway {
      * @param force <i>true</i> will delete the device even if it is not reachable.
      * @param defer <i>true</i> will delete the device once it becomes available.
      */
-    public void deleteDevice(String address, boolean reset, boolean force, boolean defer);
+    void deleteDevice(String address, boolean reset, boolean force, boolean defer);
 }
index 082d571ea9bd1c4b3f5217ede2643c45d1c85f2f..3a8239f89709783920238a5e2637bb2988c12a26 100644 (file)
@@ -26,50 +26,50 @@ public interface HomematicGatewayAdapter {
     /**
      * Called when a datapoint has been updated.
      */
-    public void onStateUpdated(HmDatapoint dp);
+    void onStateUpdated(HmDatapoint dp);
 
     /**
      * Called when a new device has been detected on the gateway.
      */
-    public void onNewDevice(HmDevice device);
+    void onNewDevice(HmDevice device);
 
     /**
      * Called when a device has been deleted from the gateway.
      */
-    public void onDeviceDeleted(HmDevice device);
+    void onDeviceDeleted(HmDevice device);
 
     /**
      * Called when the devices values should be reloaded from the gateway.
      */
-    public void reloadDeviceValues(HmDevice device);
+    void reloadDeviceValues(HmDevice device);
 
     /**
      * Called when all values for all devices should be reloaded from the gateway.
      */
-    public void reloadAllDeviceValues();
+    void reloadAllDeviceValues();
 
     /**
      * Called when a device has been loaded from the gateway.
      */
-    public void onDeviceLoaded(HmDevice device);
+    void onDeviceLoaded(HmDevice device);
 
     /**
      * Called when the connection is lost to the gateway.
      */
-    public void onConnectionLost();
+    void onConnectionLost();
 
     /**
      * Called when the connection is resumed to the gateway.
      */
-    public void onConnectionResumed();
+    void onConnectionResumed();
 
     /**
      * Returns the configuration of a datapoint.
      */
-    public HmDatapointConfig getDatapointConfig(HmDatapoint dp);
+    HmDatapointConfig getDatapointConfig(HmDatapoint dp);
 
     /**
      * Called when a new value for the duty cycle of the gateway has been received.
      */
-    public void onDutyCycleRatioUpdate(int dutyCycleRatio);
+    void onDutyCycleRatioUpdate(int dutyCycleRatio);
 }
index 6d5c5b2ee0d7ddbec78035e269b941f16d5bcbf7..75b891266ee0f087bde6bd64f9b71fce27e80f6b 100644 (file)
@@ -22,15 +22,15 @@ public interface RpcRequest<T> {
     /**
      * Adds arguments to the RPC method.
      */
-    public void addArg(Object arg);
+    void addArg(Object arg);
 
     /**
      * Generates the RPC data.
      */
-    public T createMessage();
+    T createMessage();
 
     /**
      * Returns the name of the rpc method.
      */
-    public String getMethodName();
+    String getMethodName();
 }
index 967e0f29e8c361589427e734eb6742cb31fcd733..52f0372d8297c8ca57452882c334700c93998d83 100644 (file)
@@ -22,10 +22,10 @@ public interface RpcResponse {
     /**
      * Returns the decoded methodName.
      */
-    public String getMethodName();
+    String getMethodName();
 
     /**
      * Returns the decoded data.
      */
-    public Object[] getResponseData();
+    Object[] getResponseData();
 }
index 3c07054fe0ac1d222808a8d669e92465c4f80e1d..484162ce91d0844b62e3e1915340a4a92151468c 100644 (file)
@@ -24,5 +24,5 @@ public interface RpcParser<M, R> {
     /**
      * Parses the message returns the result.
      */
-    public R parse(M message) throws IOException;
+    R parse(M message) throws IOException;
 }
index 5a180e0fbd473aba435c1170075508f4f451b45d..5a22734f526ba82b058fecbe849debbf56f6c9b7 100644 (file)
@@ -26,15 +26,15 @@ public interface RpcEventListener {
     /**
      * Called when a new event is received from a Homeamtic gateway.
      */
-    public void eventReceived(HmDatapointInfo dpInfo, Object newValue);
+    void eventReceived(HmDatapointInfo dpInfo, Object newValue);
 
     /**
      * Called when new devices has been detected on the Homeamtic gateway.
      */
-    public void newDevices(List<String> adresses);
+    void newDevices(List<String> adresses);
 
     /**
      * Called when devices has been deleted from the Homeamtic gateway.
      */
-    public void deleteDevices(List<String> addresses);
+    void deleteDevices(List<String> addresses);
 }
index 538eaf2811d35173ee7c489a0066e28eb3e81c76..9b969d055da06e9d1dd514ae675e088115cbea5e 100644 (file)
@@ -24,10 +24,10 @@ public interface RpcServer {
     /**
      * Starts the rpc server.
      */
-    public void start() throws IOException;
+    void start() throws IOException;
 
     /**
      * Stops the rpc server.
      */
-    public void shutdown();
+    void shutdown();
 }
index 6ec918f60b55ec35f5c7bee81fc03a6da073222e..85e5019f47f6819976d7463fbffe13c3e38edb4d 100644 (file)
@@ -31,36 +31,36 @@ public interface VirtualDatapointHandler {
     /**
      * Returns the virtual datapoint name.
      */
-    public String getName();
+    String getName();
 
     /**
      * Adds the virtual datapoint to the device.
      */
-    public void initialize(HmDevice device);
+    void initialize(HmDevice device);
 
     /**
      * Returns true, if the virtual datapoint can handle a command for the given datapoint.
      */
-    public boolean canHandleCommand(HmDatapoint dp, Object value);
+    boolean canHandleCommand(HmDatapoint dp, Object value);
 
     /**
      * Handles the special functionality for the given virtual datapoint.
      */
-    public void handleCommand(VirtualGateway gateway, HmDatapoint dp, HmDatapointConfig dpConfig, Object value)
+    void handleCommand(VirtualGateway gateway, HmDatapoint dp, HmDatapointConfig dpConfig, Object value)
             throws IOException, HomematicClientException;
 
     /**
      * Returns true, if the virtual datapoint can handle the event for the given datapoint.
      */
-    public boolean canHandleEvent(HmDatapoint dp);
+    boolean canHandleEvent(HmDatapoint dp);
 
     /**
      * Handles an event to extract data required for the virtual datapoint.
      */
-    public void handleEvent(VirtualGateway gateway, HmDatapoint dp);
+    void handleEvent(VirtualGateway gateway, HmDatapoint dp);
 
     /**
      * Returns the virtual datapoint in the given channel.
      */
-    public HmDatapoint getVirtualDatapoint(HmChannel channel);
+    HmDatapoint getVirtualDatapoint(HmChannel channel);
 }
index 4317bee690dd5f5ab402a98842f5eff43ad61cf7..09067318f1ba267abcb7ffb98722bfa1042cdba5 100644 (file)
@@ -32,21 +32,21 @@ public interface VirtualGateway extends HomematicGateway {
     /**
      * Sends the datapoint from a virtual datapoint.
      */
-    public void sendDatapointIgnoreVirtual(HmDatapoint dp, HmDatapointConfig dpConfig, Object newValue)
+    void sendDatapointIgnoreVirtual(HmDatapoint dp, HmDatapointConfig dpConfig, Object newValue)
             throws IOException, HomematicClientException;
 
     /**
      * Returns the rpc client.
      */
-    public RpcClient<?> getRpcClient(HmInterface hmInterface) throws IOException;
+    RpcClient<?> getRpcClient(HmInterface hmInterface) throws IOException;
 
     /**
      * Disables a boolean datapoint by setting the value to false after a given delay.
      */
-    public void disableDatapoint(HmDatapoint dp, double delay);
+    void disableDatapoint(HmDatapoint dp, double delay);
 
     /**
      * Returns the event listener.
      */
-    public HomematicGatewayAdapter getGatewayAdapter();
+    HomematicGatewayAdapter getGatewayAdapter();
 }
index 6f44e0e30c05629b8c34ec8e85ec1351de7c8287..a722f0499b1adddd91f7e69f6abaac85636430a1 100644 (file)
@@ -26,10 +26,10 @@ public interface TypeConverter<T extends State> {
     /**
      * Converts an openHAB type to a Homematic value.
      */
-    public Object convertToBinding(Type type, HmDatapoint dp) throws ConverterException;
+    Object convertToBinding(Type type, HmDatapoint dp) throws ConverterException;
 
     /**
      * Converts a Homematic value to an openHAB type.
      */
-    public T convertFromBinding(HmDatapoint dp) throws ConverterException;
+    T convertFromBinding(HmDatapoint dp) throws ConverterException;
 }
index d17c4f22c61cc85a7955e2d8ec715d7622670c85..381389be0dcae07b49f08f39139bc085ce175dce 100644 (file)
@@ -26,7 +26,7 @@ public interface HomematicChannelGroupTypeProvider extends ChannelGroupTypeProvi
     /**
      * Adds the ChannelGroupType to this provider.
      */
-    public void addChannelGroupType(ChannelGroupType channelGroupType);
+    void addChannelGroupType(ChannelGroupType channelGroupType);
 
     /**
      * Use this method to lookup a ChannelGroupType which was generated by the
@@ -41,5 +41,5 @@ public interface HomematicChannelGroupTypeProvider extends ChannelGroupTypeProvi
      *         <i>null</i> if no ChannelGroupType with the given UID was added
      *         before
      */
-    public ChannelGroupType getInternalChannelGroupType(ChannelGroupTypeUID channelGroupTypeUID);
+    ChannelGroupType getInternalChannelGroupType(ChannelGroupTypeUID channelGroupTypeUID);
 }
index 1e730c8352561df63afb402a0893badc9b58818f..ece631a2ac0cc195f75b16355a39adb42be8f3e9 100644 (file)
@@ -26,7 +26,7 @@ public interface HomematicChannelTypeProvider extends ChannelTypeProvider {
     /**
      * Adds the ChannelType to this provider.
      */
-    public void addChannelType(ChannelType channelType);
+    void addChannelType(ChannelType channelType);
 
     /**
      * Use this method to lookup a ChannelType which was generated by the
@@ -41,5 +41,5 @@ public interface HomematicChannelTypeProvider extends ChannelTypeProvider {
      *         <i>null</i> if no ChannelType with the given UID was added
      *         before
      */
-    public ChannelType getInternalChannelType(ChannelTypeUID channelTypeUID);
+    ChannelType getInternalChannelType(ChannelTypeUID channelTypeUID);
 }
index 6186a4cf57bb30f6a5257938ff2e307b3603d4d6..10a8c82e07f8eeb4802ccb930218619315b930a1 100644 (file)
@@ -29,7 +29,7 @@ public interface HomematicConfigDescriptionProvider extends ConfigDescriptionPro
     /**
      * Adds the ConfigDescription to this provider.
      */
-    public void addConfigDescription(ConfigDescription configDescription);
+    void addConfigDescription(ConfigDescription configDescription);
 
     /**
      * Provides a {@link ConfigDescription} for the given URI.
@@ -56,5 +56,5 @@ public interface HomematicConfigDescriptionProvider extends ConfigDescriptionPro
      *         <i>null</i> if no ConfigDescription with the given URI was added
      *         before
      */
-    public ConfigDescription getInternalConfigDescription(URI uri);
+    ConfigDescription getInternalConfigDescription(URI uri);
 }
index 76faace1ce725f2591945127a5c667ad0458ad28..1a01f6fba1be6cacaacd8d3a64716e8919341804 100644 (file)
@@ -26,7 +26,7 @@ public interface HomematicThingTypeProvider extends ThingTypeProvider {
     /**
      * Adds the ThingType to this provider.
      */
-    public void addThingType(ThingType thingType);
+    void addThingType(ThingType thingType);
 
     /**
      * Use this method to lookup a ThingType which was generated by the
@@ -41,5 +41,5 @@ public interface HomematicThingTypeProvider extends ThingTypeProvider {
      *         <i>null</i> if no ThingType with the given thingTypeUID was added
      *         before
      */
-    public ThingType getInternalThingType(ThingTypeUID thingTypeUID);
+    ThingType getInternalThingType(ThingTypeUID thingTypeUID);
 }
index fc4d9c4f2a92a5229ee0aa9e3c1bd1d5ba4da8e7..5f95e28b94b0d0439e2839d9563b5860a306bafa 100644 (file)
@@ -23,16 +23,16 @@ public interface HomematicTypeGenerator {
     /**
      * Initializes the type generator.
      */
-    public void initialize();
+    void initialize();
 
     /**
      * Generates the ThingType and ChannelTypes for the given device.
      */
-    public void generate(HmDevice device);
+    void generate(HmDevice device);
 
     /**
      * Validates all devices for multiple firmware versions. Different firmware versions for the same device may have
      * different datapoints which may cause warnings in the logfile.
      */
-    public void validateFirmwares();
+    void validateFirmwares();
 }
index 125dff65eb994cdfb4182745722a00e773cdd916..5a360a2254de30c4c2ad5a264c2b2dbd6736d78c 100644 (file)
@@ -48,7 +48,7 @@ public interface HomematicThingTypeExcluder {
      * @return {@link ThingTypeUID}s of ThingTypes that are supposed to be
      *         excluded from the binding's thing-type generation
      */
-    public Set<ThingTypeUID> getExcludedThingTypes();
+    Set<ThingTypeUID> getExcludedThingTypes();
 
     /**
      * Check for the given {@link ThingTypeUID} whether it is excluded by this
@@ -57,7 +57,7 @@ public interface HomematicThingTypeExcluder {
      * @param thingType a specific ThingType, specified by its {@link ThingTypeUID}
      * @return <i>true</i>, if the {@link ThingType} is excluded
      */
-    public boolean isThingTypeExcluded(ThingTypeUID thingType);
+    boolean isThingTypeExcluded(ThingTypeUID thingType);
 
     /**
      * Check for the given {@link ChannelTypeUID} whether it is excluded by this
@@ -67,7 +67,7 @@ public interface HomematicThingTypeExcluder {
      * @return <i>true</i>, if the {@link org.openhab.core.thing.type.ChannelType} is
      *         excluded
      */
-    public boolean isChannelTypeExcluded(ChannelTypeUID channelType);
+    boolean isChannelTypeExcluded(ChannelTypeUID channelType);
 
     /**
      * Check for the given {@link ChannelGroupTypeUID} whether it is excluded by
@@ -78,7 +78,7 @@ public interface HomematicThingTypeExcluder {
      *         {@link org.openhab.core.thing.type.ChannelGroupType} is
      *         excluded
      */
-    public boolean isChannelGroupTypeExcluded(ChannelGroupTypeUID channelGroupType);
+    boolean isChannelGroupTypeExcluded(ChannelGroupTypeUID channelGroupType);
 
     /**
      * Check for the given config-description-{@link URI} whether it is excluded by
@@ -88,5 +88,5 @@ public interface HomematicThingTypeExcluder {
      * @return <i>true</i>, if the {@link org.openhab.core.config.core.ConfigDescription} is
      *         excluded
      */
-    public boolean isConfigDescriptionExcluded(URI configDescriptionURI);
+    boolean isConfigDescriptionExcluded(URI configDescriptionURI);
 }
index 8c931f4bc674837354137dec63e1b228e651eb02..3e9919021de4a21c736036e2af4570f0af70321f 100644 (file)
@@ -24,5 +24,5 @@ import org.openhab.binding.hydrawise.internal.api.graphql.dto.Controller;
  */
 @NonNullByDefault
 public interface HydrawiseControllerListener {
-    public void onData(List<Controller> controllers);
+    void onData(List<Controller> controllers);
 }
index 66263e67d58389a02f02af9d33027d937573c44c..333fffae439a284d68ca565384c964067ba62264 100644 (file)
@@ -26,10 +26,10 @@ public interface DriverListener {
     /**
      * Notification that querying of the modems on all ports has successfully completed.
      */
-    public abstract void driverCompletelyInitialized();
+    void driverCompletelyInitialized();
 
     /**
      * Notification that the driver was disconnected
      */
-    public abstract void disconnected();
+    void disconnected();
 }
index c07f6fefa757cbae65fd5b5b9a2df0bfb181c1e7..d77ae302c14c08e059cb15ef4d9192d1177e6432 100644 (file)
@@ -27,5 +27,5 @@ public interface MsgListener {
      *
      * @param msg the message received
      */
-    public abstract void msg(Msg msg);
+    void msg(Msg msg);
 }
index 86a21a20e961b370564f786995ff1595049397dc..b1e4ecdb8e8f8a8091b68f65e7bee28c811c581c 100644 (file)
@@ -31,5 +31,5 @@ public interface TransceiverStatusListener {
      * @param bridge
      * @param command the infrared command
      */
-    public void onCommandReceived(EthernetBridgeHandler bridge, IrCommand command);
+    void onCommandReceived(EthernetBridgeHandler bridge, IrCommand command);
 }
index 1c544cd5155a65477b0fafd5789c6416e5b21a11..5f86262fb27240f684dead8be0137eaf17b3674f 100644 (file)
@@ -18,5 +18,5 @@ package org.openhab.binding.jeelink.internal;
  * @author Volker Bier - Initial contribution
  */
 public interface JeeLinkReadingConverter<R extends Reading> {
-    public R createReading(String inputLine);
+    R createReading(String inputLine);
 }
index d3c07635a83465b3d5faac545f2f9a4283f509dd..b4b2cf5b482f631442599ebdaae958a8f15d7a26 100644 (file)
@@ -18,9 +18,9 @@ package org.openhab.binding.jeelink.internal;
  * @author Volker Bier - Initial contribution
  */
 public interface ReadingHandler<R extends Reading> {
-    public void handleReading(R r);
+    void handleReading(R r);
 
-    public Class<R> getReadingClass();
+    Class<R> getReadingClass();
 
-    public String getSensorType();
+    String getSensorType();
 }
index 71c754fc56e22ba9b33877cfb4a08f8fc789614c..6322858c7bb259fb0dcf6bcb26ed10125bd98a82 100644 (file)
@@ -18,7 +18,7 @@ package org.openhab.binding.jeelink.internal;
  * @author Volker Bier - Initial contribution
  */
 public interface ReadingPublisher<R extends Reading> {
-    public void publish(R reading);
+    void publish(R reading);
 
-    public void dispose();
+    void dispose();
 }
index c5aea71588b4a64806c77363b5c5616b1f2e9498..c6b9ff1a1365504740b0dece3d3dc865b8c91745 100644 (file)
@@ -39,5 +39,5 @@ public interface ConnectionListener {
     /**
      * Called whenever input has been read from the connection.
      */
-    public void handleInput(String input);
+    void handleInput(String input);
 }
index a755c1cbceb105af8e7ff1be47ccd44767d1b895..666edd91b7fbb4331252f5bdf52f383fb0755d2b 100644 (file)
@@ -23,5 +23,5 @@ import org.openhab.core.thing.ThingStatus;
  */
 @NonNullByDefault
 public interface KM200GatewayStatusListener {
-    public void gatewayStatusChanged(ThingStatus status);
+    void gatewayStatusChanged(ThingStatus status);
 }
index 32677057dc0246e3357d578c4a2d757f4c670fae..c8e93a47aba2c27c1b0d32a0c38a4f38ebb3434c 100644 (file)
@@ -36,5 +36,5 @@ public interface DeviceInfoClient {
             final int propertyId, final int start, final int elements, boolean authenticate, long timeout)
             throws InterruptedException;
 
-    public boolean isConnected();
+    boolean isConnected();
 }
index 1dbccabac3df35645cd1e676bccbde68ad54919c..9f67d6d937b2ba5ba7005e8f9c2dc7f338850a8b 100644 (file)
@@ -32,5 +32,5 @@ public interface GroupAddressListener extends BusMessageListener {
      *
      * @param destination
      */
-    public boolean listensTo(GroupAddress destination);
+    boolean listensTo(GroupAddress destination);
 }
index 7e1e03340480af02441b68aec9f30457b35e2053..575948a58f3f1de983cb3ef8005cca3d932721e1 100644 (file)
@@ -31,7 +31,7 @@ import org.openhab.core.library.types.RawType;
  * @author Christoph Weitkamp - Improvements for playing audio notifications
  */
 public interface KodiEventListener extends EventListener {
-    public enum KodiState {
+    enum KodiState {
         PLAY,
         PAUSE,
         END,
@@ -40,7 +40,7 @@ public interface KodiEventListener extends EventListener {
         FASTFORWARD
     }
 
-    public enum KodiPlaylistState {
+    enum KodiPlaylistState {
         ADD,
         ADDED,
         INSERT,
index 86214b67a4d3dacd94ff450322c7fb560cc78393..2e87f7e6be437df0a6f65102f82f9c9316ff13ff 100644 (file)
@@ -52,7 +52,7 @@ public interface LaMetricTime {
      *
      * @return the version
      */
-    public String getVersion();
+    String getVersion();
 
     /**
      * Send a low priority message to the device.
@@ -63,7 +63,7 @@ public interface LaMetricTime {
      * @throws NotificationCreationException
      *             if there is a communication error or malformed data
      */
-    public String notifyInfo(String message) throws NotificationCreationException;
+    String notifyInfo(String message) throws NotificationCreationException;
 
     /**
      * Send a medium priority message to the device.
@@ -74,7 +74,7 @@ public interface LaMetricTime {
      * @throws NotificationCreationException
      *             if there is a communication error or malformed data
      */
-    public String notifyWarning(String message) throws NotificationCreationException;
+    String notifyWarning(String message) throws NotificationCreationException;
 
     /**
      * Send an urgent message to the device. The notification will not be
@@ -87,7 +87,7 @@ public interface LaMetricTime {
      * @throws NotificationCreationException
      *             if there is a communication error or malformed data
      */
-    public String notifyCritical(String message) throws NotificationCreationException;
+    String notifyCritical(String message) throws NotificationCreationException;
 
     /**
      * Send a notification to the device.
@@ -128,7 +128,7 @@ public interface LaMetricTime {
      * @throws NotificationCreationException
      *             if there is a communication error or malformed data
      */
-    public String notify(String message, Priority priority, Icon icon, Sound sound, int messageRepeat, int soundRepeat)
+    String notify(String message, Priority priority, Icon icon, Sound sound, int messageRepeat, int soundRepeat)
             throws NotificationCreationException;
 
     /**
@@ -137,7 +137,8 @@ public interface LaMetricTime {
      *
      * @return the clock app
      */
-    public @Nullable Application getClock();
+    @Nullable
+    Application getClock();
 
     /**
      * Get the built-in countdown timer application. This application counts
@@ -146,7 +147,8 @@ public interface LaMetricTime {
      *
      * @return the countdown app
      */
-    public @Nullable Application getCountdown();
+    @Nullable
+    Application getCountdown();
 
     /**
      * Get the built-in radio application. The radio can play streams from the
@@ -155,7 +157,8 @@ public interface LaMetricTime {
      *
      * @return the radio app
      */
-    public @Nullable Application getRadio();
+    @Nullable
+    Application getRadio();
 
     /**
      * Get the built-in stopwatch application. The stopwatch counts time
@@ -163,7 +166,8 @@ public interface LaMetricTime {
      *
      * @return the stopwatch app
      */
-    public @Nullable Application getStopwatch();
+    @Nullable
+    Application getStopwatch();
 
     /**
      * Get the built-in weather application. This application displays the
@@ -172,7 +176,8 @@ public interface LaMetricTime {
      *
      * @return the weather app
      */
-    public @Nullable Application getWeather();
+    @Nullable
+    Application getWeather();
 
     /**
      * Get any of the built-in applications.
@@ -181,7 +186,8 @@ public interface LaMetricTime {
      *            the app to retrieve
      * @return the requested app
      */
-    public @Nullable Application getApplication(CoreApplication coreApp);
+    @Nullable
+    Application getApplication(CoreApplication coreApp);
 
     /**
      * Get any application installed on the device.
@@ -192,7 +198,8 @@ public interface LaMetricTime {
      * @throws ApplicationNotFoundException
      *             if the requested app is not found on the device
      */
-    public @Nullable Application getApplication(@Nullable String name) throws ApplicationNotFoundException;
+    @Nullable
+    Application getApplication(@Nullable String name) throws ApplicationNotFoundException;
 
     /**
      * Display the given built-in application on the device.
@@ -200,7 +207,7 @@ public interface LaMetricTime {
      * @param coreApp
      *            the app to activate
      */
-    public void activateApplication(CoreApplication coreApp);
+    void activateApplication(CoreApplication coreApp);
 
     /**
      * Display the first instance (widget) of the given application on the
@@ -211,7 +218,7 @@ public interface LaMetricTime {
      * @throws ApplicationActivationException
      *             if the app fails to activate
      */
-    public void activateApplication(Application app) throws ApplicationActivationException;
+    void activateApplication(Application app) throws ApplicationActivationException;
 
     /**
      * Display the given widget on the device. A widget is simply an instance of
@@ -224,7 +231,7 @@ public interface LaMetricTime {
      * @throws ApplicationActivationException
      *             if the app fails to activate
      */
-    public void activateWidget(Widget widget) throws ApplicationActivationException;
+    void activateWidget(Widget widget) throws ApplicationActivationException;
 
     /**
      * Perform the given action on the first instance (widget) of the
@@ -234,7 +241,7 @@ public interface LaMetricTime {
      * @param coreAction
      *            the action to perform
      */
-    public void doAction(CoreAction coreAction);
+    void doAction(CoreAction coreAction);
 
     /**
      * Perform the given action on the first instance (widget) of the given
@@ -248,7 +255,7 @@ public interface LaMetricTime {
      * @throws ApplicationActionException
      *             if the action cannot be performed
      */
-    public void doAction(Application app, UpdateAction action) throws ApplicationActionException;
+    void doAction(Application app, UpdateAction action) throws ApplicationActionException;
 
     /**
      * Perform the given core action on the given widget. A widget is simply an
@@ -264,7 +271,7 @@ public interface LaMetricTime {
      * @throws ApplicationActionException
      *             if the action cannot be performed
      */
-    public void doAction(@Nullable Widget widget, CoreAction action) throws ApplicationActionException;
+    void doAction(@Nullable Widget widget, CoreAction action) throws ApplicationActionException;
 
     /**
      * Perform the given action on the given widget. A widget is simply an
@@ -280,7 +287,7 @@ public interface LaMetricTime {
      * @throws ApplicationActionException
      *             if the action cannot be performed
      */
-    public void doAction(Widget widget, UpdateAction action) throws ApplicationActionException;
+    void doAction(Widget widget, UpdateAction action) throws ApplicationActionException;
 
     /**
      * Set the display brightness. The {@link #setBrightnessMode(BrightnessMode)
@@ -293,7 +300,7 @@ public interface LaMetricTime {
      * @throws UpdateException
      *             if the update failed
      */
-    public Display setBrightness(int brightness) throws UpdateException;
+    Display setBrightness(int brightness) throws UpdateException;
 
     /**
      * Set the brightness mode on the display. {@link BrightnessMode#MANUAL}
@@ -307,7 +314,7 @@ public interface LaMetricTime {
      * @throws UpdateException
      *             if the update failed
      */
-    public Display setBrightnessMode(BrightnessMode mode) throws UpdateException;
+    Display setBrightnessMode(BrightnessMode mode) throws UpdateException;
 
     /**
      * Set the speaker volume on the device.
@@ -318,7 +325,7 @@ public interface LaMetricTime {
      * @throws UpdateException
      *             if the update failed
      */
-    public Audio setVolume(int volume) throws UpdateException;
+    Audio setVolume(int volume) throws UpdateException;
 
     /**
      * Mute the device's speakers. The current volume will be stored so that
@@ -329,7 +336,7 @@ public interface LaMetricTime {
      * @throws UpdateException
      *             if the update failed
      */
-    public Audio mute() throws UpdateException;
+    Audio mute() throws UpdateException;
 
     /**
      * Restore the volume prior to {@link #mute()}. If the volume has not been
@@ -339,7 +346,7 @@ public interface LaMetricTime {
      * @throws UpdateException
      *             if the update failed
      */
-    public Audio unmute() throws UpdateException;
+    Audio unmute() throws UpdateException;
 
     /**
      * Set the active state of the Bluetooth radio on the device.
@@ -351,7 +358,7 @@ public interface LaMetricTime {
      * @throws UpdateException
      *             if the update failed
      */
-    public Bluetooth setBluetoothActive(boolean active) throws UpdateException;
+    Bluetooth setBluetoothActive(boolean active) throws UpdateException;
 
     /**
      * Set the device name as seen via Bluetooth connectivity.
@@ -362,21 +369,21 @@ public interface LaMetricTime {
      * @throws UpdateException
      *             if the update failed
      */
-    public Bluetooth setBluetoothName(String name) throws UpdateException;
+    Bluetooth setBluetoothName(String name) throws UpdateException;
 
     /**
      * Get the local API for more advanced interactions as well device inquiry.
      *
      * @return the local API
      */
-    public LaMetricTimeLocal getLocalApi();
+    LaMetricTimeLocal getLocalApi();
 
     /**
      * Get the cloud API for interacting with LaMetric's services.
      *
      * @return the cloud API
      */
-    public LaMetricTimeCloud getCloudApi();
+    LaMetricTimeCloud getCloudApi();
 
     /**
      * Create an instance of this API. For greater control over the
@@ -388,7 +395,7 @@ public interface LaMetricTime {
      *            the configuration parameters that the new instance will use
      * @return the API instance
      */
-    public static LaMetricTime create(Configuration config) {
+    static LaMetricTime create(Configuration config) {
         return new LaMetricTimeImpl(config);
     }
 
@@ -404,7 +411,7 @@ public interface LaMetricTime {
      *            communicating with the device and cloud services
      * @return the API instance
      */
-    public static LaMetricTime create(Configuration config, ClientBuilder clientBuilder) {
+    static LaMetricTime create(Configuration config, ClientBuilder clientBuilder) {
         return new LaMetricTimeImpl(config, clientBuilder);
     }
 
@@ -419,7 +426,7 @@ public interface LaMetricTime {
      *            the cloud API configuration for the new instance
      * @return the API instance
      */
-    public static LaMetricTime create(LocalConfiguration localConfig, CloudConfiguration cloudConfig) {
+    static LaMetricTime create(LocalConfiguration localConfig, CloudConfiguration cloudConfig) {
         return new LaMetricTimeImpl(localConfig, cloudConfig);
     }
 
@@ -436,7 +443,7 @@ public interface LaMetricTime {
      *            communicating with the device and cloud services
      * @return the API instance
      */
-    public static LaMetricTime create(LocalConfiguration localConfig, CloudConfiguration cloudConfig,
+    static LaMetricTime create(LocalConfiguration localConfig, CloudConfiguration cloudConfig,
             ClientBuilder clientBuilder) {
         return new LaMetricTimeImpl(localConfig, cloudConfig, clientBuilder);
     }
index 7a948a9a6e5f1c32d8f563382b97dd3d357785ee..d9d113d26faf7fb504dadb52f80573fed96128b7 100644 (file)
@@ -26,15 +26,15 @@ import org.openhab.binding.lametrictime.internal.api.cloud.impl.LaMetricTimeClou
  */
 @NonNullByDefault
 public interface LaMetricTimeCloud {
-    public Icons getIcons();
+    Icons getIcons();
 
-    public Icons getIcons(IconFilter filter);
+    Icons getIcons(IconFilter filter);
 
-    public static LaMetricTimeCloud create(CloudConfiguration config) {
+    static LaMetricTimeCloud create(CloudConfiguration config) {
         return new LaMetricTimeCloudImpl(config);
     }
 
-    public static LaMetricTimeCloud create(CloudConfiguration config, ClientBuilder clientBuilder) {
+    static LaMetricTimeCloud create(CloudConfiguration config, ClientBuilder clientBuilder) {
         return new LaMetricTimeCloudImpl(config, clientBuilder);
     }
 }
index a3f90e0bb22f7b6a319289ec32bba35d405bbc33..4716fec4b36380c35a03fae7b20a3cbf5bf72c80 100644 (file)
@@ -18,9 +18,9 @@ package org.openhab.binding.lametrictime.internal.api.dto;
  * @author Gregory Moyer - Initial contribution
  */
 public interface ApiValue {
-    public String toRaw();
+    String toRaw();
 
-    public static String raw(ApiValue value) {
+    static String raw(ApiValue value) {
         if (value == null) {
             return null;
         }
index 72bce6484310b937b8a7f85fa06566c5f983b991..df8b986433cc06c0e81e4fa90ac88226f88be74b 100644 (file)
@@ -38,55 +38,55 @@ import org.openhab.binding.lametrictime.internal.api.local.impl.LaMetricTimeLoca
  */
 @NonNullByDefault
 public interface LaMetricTimeLocal {
-    public Api getApi();
+    Api getApi();
 
-    public Device getDevice();
+    Device getDevice();
 
-    public String createNotification(Notification notification) throws NotificationCreationException;
+    String createNotification(Notification notification) throws NotificationCreationException;
 
-    public List<Notification> getNotifications();
+    List<Notification> getNotifications();
 
-    public @Nullable Notification getCurrentNotification();
+    @Nullable
+    Notification getCurrentNotification();
 
-    public Notification getNotification(String id) throws NotificationNotFoundException;
+    Notification getNotification(String id) throws NotificationNotFoundException;
 
-    public void deleteNotification(String id) throws NotificationNotFoundException;
+    void deleteNotification(String id) throws NotificationNotFoundException;
 
-    public Display getDisplay();
+    Display getDisplay();
 
-    public Display updateDisplay(Display display) throws UpdateException;
+    Display updateDisplay(Display display) throws UpdateException;
 
-    public Audio getAudio();
+    Audio getAudio();
 
-    public Audio updateAudio(Audio audio) throws UpdateException;
+    Audio updateAudio(Audio audio) throws UpdateException;
 
-    public Bluetooth getBluetooth();
+    Bluetooth getBluetooth();
 
-    public Bluetooth updateBluetooth(Bluetooth bluetooth) throws UpdateException;
+    Bluetooth updateBluetooth(Bluetooth bluetooth) throws UpdateException;
 
-    public Wifi getWifi();
+    Wifi getWifi();
 
-    public void updateApplication(String packageName, String accessToken, WidgetUpdates widgetUpdates)
-            throws UpdateException;
+    void updateApplication(String packageName, String accessToken, WidgetUpdates widgetUpdates) throws UpdateException;
 
-    public SortedMap<String, Application> getApplications();
+    SortedMap<String, Application> getApplications();
 
-    public @Nullable Application getApplication(String packageName) throws ApplicationNotFoundException;
+    @Nullable
+    Application getApplication(String packageName) throws ApplicationNotFoundException;
 
-    public void activatePreviousApplication();
+    void activatePreviousApplication();
 
-    public void activateNextApplication();
+    void activateNextApplication();
 
-    public void activateApplication(String packageName, String widgetId) throws ApplicationActivationException;
+    void activateApplication(String packageName, String widgetId) throws ApplicationActivationException;
 
-    public void doAction(String packageName, String widgetId, @Nullable UpdateAction action)
-            throws ApplicationActionException;
+    void doAction(String packageName, String widgetId, @Nullable UpdateAction action) throws ApplicationActionException;
 
-    public static LaMetricTimeLocal create(LocalConfiguration config) {
+    static LaMetricTimeLocal create(LocalConfiguration config) {
         return new LaMetricTimeLocalImpl(config);
     }
 
-    public static LaMetricTimeLocal create(LocalConfiguration config, ClientBuilder clientBuilder) {
+    static LaMetricTimeLocal create(LocalConfiguration config, ClientBuilder clientBuilder) {
         return new LaMetricTimeLocalImpl(config, clientBuilder);
     }
 }
index 2b28da3e97a42cddfd11dc5c7a930927518e6f2b..1ae88280dc7b6ca9d6ac600f58f5141807354a89 100644 (file)
@@ -36,5 +36,5 @@ public interface PacketHandler<T extends Packet> {
      * @throws IllegalArgumentException when an empty packet could not be created or the data in the buffer
      *             could not be parsed
      */
-    public abstract T handle(ByteBuffer buf);
+    T handle(ByteBuffer buf);
 }
index d799f99201ab5dbccc430d4c0b54d0af59681223..b990eb1c1ea0ec45bc5cb694cd8a5bcd95c001dc 100644 (file)
@@ -31,5 +31,5 @@ public interface LifxPropertiesUpdateListener {
      *
      * @param packet the updated properties
      */
-    public void handlePropertiesUpdate(Map<String, String> properties);
+    void handlePropertiesUpdate(Map<String, String> properties);
 }
index 5d9394c83a87f7b4639c6ee61f31241d17167126..f08db5673dff3aa7a449c35772dbeda029d30b54 100644 (file)
@@ -30,5 +30,5 @@ public interface LifxResponsePacketListener {
      *
      * @param packet the received packet
      */
-    public void handleResponsePacket(Packet packet);
+    void handleResponsePacket(Packet packet);
 }
index 7a49706bbb7507d26c353d4e2241f51096a25c7d..2f2b85ff7ca525194bf6561e11f34e7a19ad5eb8 100644 (file)
@@ -24,11 +24,11 @@ import org.openhab.binding.lutron.internal.discovery.project.ComponentType;
 @NonNullByDefault
 public interface KeypadComponent {
 
-    public int id();
+    int id();
 
-    public String channel();
+    String channel();
 
-    public String description();
+    String description();
 
-    public ComponentType type();
+    ComponentType type();
 }
index 55e2d98b124251800dc1ea0e51a01c281cf9278e..2537c30045849f74cab2d3491a2811ca1ef951f1 100644 (file)
@@ -23,12 +23,12 @@ public interface SocketSessionCallback {
      *
      * @param response a non-null, possibly empty response
      */
-    public void responseReceived(String response);
+    void responseReceived(String response);
 
     /**
      * Called when a command finished with an exception
      *
      * @param e a non-null exception
      */
-    public void responseException(Exception e);
+    void responseException(Exception e);
 }
index e67fe9bef928e2b323b73cbf760fc2b38bd8d528..2018d928335be92f8a31f250a3150056ca3f46f9 100644 (file)
@@ -29,19 +29,19 @@ import org.openhab.binding.lutron.internal.protocol.leap.dto.ZoneStatus;
 @NonNullByDefault
 public interface LeapMessageParserCallbacks {
 
-    public void validMessageReceived(String communiqueType);
+    void validMessageReceived(String communiqueType);
 
-    public void handleEmptyButtonGroupDefinition();
+    void handleEmptyButtonGroupDefinition();
 
-    public void handleZoneUpdate(ZoneStatus zoneStatus);
+    void handleZoneUpdate(ZoneStatus zoneStatus);
 
-    public void handleGroupUpdate(int groupNumber, String occupancyStatus);
+    void handleGroupUpdate(int groupNumber, String occupancyStatus);
 
-    public void handleMultipleButtonGroupDefinition(List<ButtonGroup> buttonGroupList);
+    void handleMultipleButtonGroupDefinition(List<ButtonGroup> buttonGroupList);
 
-    public void handleMultipleDeviceDefintion(List<Device> deviceList);
+    void handleMultipleDeviceDefintion(List<Device> deviceList);
 
-    public void handleMultipleAreaDefinition(List<Area> areaList);
+    void handleMultipleAreaDefinition(List<Area> areaList);
 
-    public void handleMultipleOccupancyGroupDefinition(List<OccupancyGroup> oGroupList);
+    void handleMultipleOccupancyGroupDefinition(List<OccupancyGroup> oGroupList);
 }
index 7d8052c72f398f0e4df38ec9b1cb090985c4274f..c33c530aa003453102a0dc75a9f785fa1b721b53 100644 (file)
@@ -23,11 +23,11 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface RadioRAConnection {
 
-    public void open(String portName, int baud) throws RadioRAConnectionException;
+    void open(String portName, int baud) throws RadioRAConnectionException;
 
-    public void disconnect();
+    void disconnect();
 
-    public void write(String command);
+    void write(String command);
 
-    public void setListener(RadioRAFeedbackListener listener);
+    void setListener(RadioRAFeedbackListener listener);
 }
index f552a495ff9ab36a713ec84cf60cebcded69a1c1..3829d3e88322458183b83836ec5e2ce74efd2d5a 100644 (file)
@@ -24,5 +24,5 @@ public interface MeteostickEventListener {
      *
      * @param data a line of data from the meteoStick
      */
-    public void onDataReceived(String data[]);
+    void onDataReceived(String data[]);
 }
index 6be27eb095f5a33691911781a8b4e3d619bf9ba0..5074602d1c85b21da5f82641231d9af5191aca63 100644 (file)
@@ -26,5 +26,5 @@ public interface OAuthTokenRefreshListener {
      *
      * @param accessToken The new access token.
      */
-    public void onNewAccessToken(String accessToken);
+    void onNewAccessToken(String accessToken);
 }
index 13c095008e5a8ecbd8e009a4097ac9e8a599a329..f8c83f9dbbe6fe07136e153eb154cc1cf8234fef 100644 (file)
@@ -33,14 +33,14 @@ public interface OAuthTokenRefresher {
      * @throws OAuthException if the listener needs to be registered at an underlying service which is not available
      *             because the account has not yet been authorized
      */
-    public void setRefreshListener(OAuthTokenRefreshListener listener, String serviceHandle);
+    void setRefreshListener(OAuthTokenRefreshListener listener, String serviceHandle);
 
     /**
      * Unsets a listener.
      *
      * @param serviceHandle The service handle identifying the internal OAuth configuration.
      */
-    public void unsetRefreshListener(String serviceHandle);
+    void unsetRefreshListener(String serviceHandle);
 
     /**
      * Refreshes the access and refresh tokens for the given service handle. If an {@link OAuthTokenRefreshListener} is
@@ -52,7 +52,7 @@ public interface OAuthTokenRefresher {
      * @param serviceHandle The service handle identifying the internal OAuth configuration.
      * @throws OAuthException if the token cannot be obtained or refreshed
      */
-    public void refreshToken(String serviceHandle);
+    void refreshToken(String serviceHandle);
 
     /**
      * Gets the currently stored access token from persistent storage.
@@ -60,7 +60,7 @@ public interface OAuthTokenRefresher {
      * @param serviceHandle The service handle identifying the internal OAuth configuration.
      * @return The currently stored access token or an empty {@link Optional} if there is no stored token.
      */
-    public Optional<String> getAccessTokenFromStorage(String serviceHandle);
+    Optional<String> getAccessTokenFromStorage(String serviceHandle);
 
     /**
      * Removes the tokens from persistent storage.
@@ -70,5 +70,5 @@ public interface OAuthTokenRefresher {
      *
      * @param serviceHandle The service handle identifying the internal OAuth configuration.
      */
-    public void removeTokensFromStorage(String serviceHandle);
+    void removeTokensFromStorage(String serviceHandle);
 }
index f002e61b21eee1e5ab5b41c0a1d48b3aec448c81..aa29b32ab0ae04434f7cb16abfd7b32c54bb6d70 100644 (file)
@@ -27,5 +27,5 @@ public interface MieleWebserviceFactory {
      * @param configuration The configuration holding all required parameters to construct the instance.
      * @return A new {@link MieleWebservice}.
      */
-    public MieleWebservice create(MieleWebserviceConfiguration configuration);
+    MieleWebservice create(MieleWebserviceConfiguration configuration);
 }
index b5ea957eab36f073efee5cebd735a8a8d170e511..74fed90d19873dc20f3438f396d02031df03dc04 100644 (file)
@@ -21,7 +21,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface Data {
-    public enum DataType {
+    enum DataType {
         INFO,
         POWER,
         WALLBOX,
index 50ef88d83ce820fb15a740b31505130b80619def..a3de3c28d9b956f9842f767d52a07a79bc18f022 100644 (file)
@@ -34,12 +34,12 @@ public interface ModbusDiscoveryListener {
      * Discovery participant should call this method when a new
      * thing has been discovered
      */
-    public void thingDiscovered(DiscoveryResult result);
+    void thingDiscovered(DiscoveryResult result);
 
     /**
      * This method should be called once the discovery has been finished
      * or aborted by any error.
      * It is important to call this even when there were no things discovered.
      */
-    public void discoveryFinished();
+    void discoveryFinished();
 }
index 9a6540ae8895d0f9a0250be5ab831b605f1fdc31..954c3f80a0f3822116a64c9cc2d45308d408e797 100644 (file)
@@ -37,12 +37,12 @@ public interface ModbusDiscoveryParticipant {
      *
      * @return a set of thing type UIDs for which results can be created
      */
-    public Set<ThingTypeUID> getSupportedThingTypeUIDs();
+    Set<ThingTypeUID> getSupportedThingTypeUIDs();
 
     /**
      * Start an asynchronous discovery process of a Modbus endpoint
      *
      * @param handler the endpoint that should be discovered
      */
-    public void startDiscovery(ModbusEndpointThingHandler handler, ModbusDiscoveryListener listener);
+    void startDiscovery(ModbusEndpointThingHandler handler, ModbusDiscoveryListener listener);
 }
index 772d1bb644bdddf2dc41d1b0cb49f9060e78199c..c2d01e183af9d5aa0cb17c9d72b16f3c6e74fc75 100644 (file)
@@ -32,12 +32,12 @@ public interface ModbusThingHandlerDiscoveryService extends ThingHandlerService
      * @param service the discovery service that should be called when the discovery is finished
      * @return returns true if discovery is enabled, false otherwise
      */
-    public boolean startScan(ModbusDiscoveryService service);
+    boolean startScan(ModbusDiscoveryService service);
 
     /**
      * This method should return true, if an async scan is in progress
      *
      * @return true if a scan is in progress false otherwise
      */
-    public boolean scanInProgress();
+    boolean scanInProgress();
 }
index 4823a9e8d9106d3c343d93b473a6a31387ce1dc8..c2345a05c9e0e012cb01301767db99a2486b8592 100644 (file)
@@ -34,7 +34,8 @@ public interface ModbusEndpointThingHandler extends Identifiable<ThingUID> {
      *
      * @return communication interface represented by this thing handler
      */
-    public @Nullable ModbusCommunicationInterface getCommunicationInterface();
+    @Nullable
+    ModbusCommunicationInterface getCommunicationInterface();
 
     /**
      * Get Slave ID, also called as unit id, represented by the thing
@@ -42,12 +43,12 @@ public interface ModbusEndpointThingHandler extends Identifiable<ThingUID> {
      * @return slave id represented by this thing handler
      * @throws EndpointNotInitializedException in case the initialization is not complete
      */
-    public int getSlaveId() throws EndpointNotInitializedException;
+    int getSlaveId() throws EndpointNotInitializedException;
 
     /**
      * Return true if auto discovery is enabled for this endpoint
      *
      * @return boolean true if the discovery is enabled
      */
-    public boolean isDiscoveryEnabled();
+    boolean isDiscoveryEnabled();
 }
index 99d90055338bcb42c7e3f1803d48953745b40a01..f603cbc0d084c31da4de88547a7791df027e862e 100644 (file)
@@ -29,5 +29,5 @@ public interface MonopriceAudioMessageEventListener extends EventListener {
      *
      * @param event the MonopriceAudioMessageEvent
      */
-    public void onNewMessageEvent(MonopriceAudioMessageEvent event);
+    void onNewMessageEvent(MonopriceAudioMessageEvent event);
 }
index 3fec489850e5c7238fafe5b3da722f1f219f78a4..9aa544a27a7e37106e0132884553488ac3d2af38 100644 (file)
@@ -32,7 +32,7 @@ public interface AvailabilityTracker {
      * @param payload_available
      * @param payload_not_available
      */
-    public void addAvailabilityTopic(String availability_topic, String payload_available, String payload_not_available);
+    void addAvailabilityTopic(String availability_topic, String payload_available, String payload_not_available);
 
     /**
      * Adds an availability topic to determine the availability of a device.
@@ -47,18 +47,18 @@ public interface AvailabilityTracker {
      * @param transformationServiceProvider The service provider to obtain the transformation service (required only if
      *            transformation_pattern is not null).
      */
-    public void addAvailabilityTopic(String availability_topic, String payload_available, String payload_not_available,
+    void addAvailabilityTopic(String availability_topic, String payload_available, String payload_not_available,
             @Nullable String transformation_pattern,
             @Nullable TransformationServiceProvider transformationServiceProvider);
 
-    public void removeAvailabilityTopic(String availability_topic);
+    void removeAvailabilityTopic(String availability_topic);
 
-    public void clearAllAvailabilityTopics();
+    void clearAllAvailabilityTopics();
 
     /**
      * resets the indicator, if messages have been received.
      * <p>
      * This is used to time out the availability of the device after some time without receiving a message.
      */
-    public void resetMessageReceived();
+    void resetMessageReceived();
 }
index a74d0b0b9e2b481cd045385ce6c7730a64f9b212..14712a14d0a7896bfabdee75a811fc17e1949703 100644 (file)
@@ -22,5 +22,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface ByteResponseCallback extends ResponseCallback {
 
-    public void onResponse(byte[] result);
+    void onResponse(byte[] result);
 }
index 5dcd1e0aef60f6557c382eff5dc9ea965c2b10e6..951e79a519f4b3da26cf4393f0ce37aee1bd7dde 100644 (file)
@@ -22,5 +22,5 @@ import org.openhab.binding.mybmw.internal.dto.network.NetworkError;
  */
 @NonNullByDefault
 public interface ResponseCallback {
-    public void onError(NetworkError error);
+    void onError(NetworkError error);
 }
index 80fbeea1758b5f511767e21d5427f9c8e12ec3bc..cf863ae36dd18fef1d4bb144cba4b658f3935337 100644 (file)
@@ -23,5 +23,5 @@ import org.eclipse.jdt.annotation.Nullable;
 @NonNullByDefault
 public interface StringResponseCallback extends ResponseCallback {
 
-    public void onResponse(@Nullable String result);
+    void onResponse(@Nullable String result);
 }
index 3b4214dd3db8d54347a6f836546a51ed6886db0b..d7179d34bf42a0941ff18fa3902fe1c8da4d274b 100644 (file)
@@ -23,5 +23,5 @@ import org.openhab.core.types.Command;
 @NonNullByDefault
 public interface ChannelCommandHandler {
 
-    public void handleCommand(Command command);
+    void handleCommand(Command command);
 }
index aa2112c0ce19a768b799bfe46c9f6157473d9f61..55d72769a8475c765f453128a72a6d7e459e4c1b 100644 (file)
@@ -26,5 +26,5 @@ import org.openhab.binding.mynice.internal.xml.dto.Device;
 @NonNullByDefault
 public interface MyNiceDataListener {
 
-    public void onDataFetched(List<Device> devices);
+    void onDataFetched(List<Device> devices);
 }
index 2a3862784614f1b2a5e409ff211b35fe913a50c5..b216daa4c0c455a3242a1f4303beb286859f468a 100644 (file)
@@ -22,7 +22,7 @@ import org.openhab.binding.myq.internal.dto.DeviceDTO;
  */
 @NonNullByDefault
 public interface MyQDeviceHandler {
-    public void handleDeviceUpdate(DeviceDTO device);
+    void handleDeviceUpdate(DeviceDTO device);
 
-    public String getSerialNumber();
+    String getSerialNumber();
 }
index f018719f8c334c7490c907a917d58393bc0fe4f9..d57950bcd1381cc97f9e4c9457dfb85971379727 100644 (file)
@@ -24,7 +24,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface LocationEx extends Location {
-    public Optional<String> getCountry();
+    Optional<String> getCountry();
 
-    public Optional<String> getTimezone();
+    Optional<String> getTimezone();
 }
index b57874f8b8e6fe9296bee5a58da1a4c6a5fae431..64b544da671f12728e829eb1c16c398b703f429e 100644 (file)
@@ -24,9 +24,10 @@ import org.openhab.binding.netatmo.internal.api.data.ModuleType;
  */
 @NonNullByDefault
 public interface NAModule {
-    public String getId();
+    String getId();
 
-    public @Nullable String getName();
+    @Nullable
+    String getName();
 
-    public ModuleType getType();
+    ModuleType getType();
 }
index d8287da765fd77031955cf0675def3cf48835bd6..125159f94de5dfb4ed8ff80c8991167242a94474 100644 (file)
@@ -30,7 +30,7 @@ public interface PresenceDetectionListener {
      *            A partial result always means that the device is reachable, but not
      *            all methods have returned a value yet.
      */
-    public void partialDetectionResult(PresenceDetectionValue value);
+    void partialDetectionResult(PresenceDetectionValue value);
 
     /**
      * This method is called by the {@see PresenceDetectionService}
@@ -39,5 +39,5 @@ public interface PresenceDetectionListener {
      *
      * @param value The final result of the presence detection process.
      */
-    public void finalDetectionResult(PresenceDetectionValue value);
+    void finalDetectionResult(PresenceDetectionValue value);
 }
index 86d28bbb0af124b28a59a7885c531daca625e5a2..e6553fd781ef610030a979abf798a69ee47c31ba 100644 (file)
@@ -28,7 +28,7 @@ import org.openhab.binding.nibeuplink.internal.connector.StatusUpdateListener;
 @NonNullByDefault
 public interface NibeUplinkCommand extends SuccessListener, FailureListener, ContentListener, CompleteListener {
 
-    public static int MAX_RETRIES = 5;
+    static int MAX_RETRIES = 5;
 
     /**
      * this method is to be called by the UplinkWebinterface class
index eb97cc7c884284ec79e305749c4c4edf406a7eca..77d9f532ace9eed03c235313d3650df66cac3281 100644 (file)
@@ -30,17 +30,17 @@ public interface NhcActionEvent {
      *
      * @param state
      */
-    public void actionEvent(int state);
+    void actionEvent(int state);
 
     /**
      * Called to indicate the action has been initialized.
      *
      */
-    public void actionInitialized();
+    void actionInitialized();
 
     /**
      * Called to indicate the action has been removed from the Niko Home Control controller.
      *
      */
-    public void actionRemoved();
+    void actionRemoved();
 }
index 6886b5fd2df922ae438c7324ed09507fc74ef622..53aa8d4213e514caa5343c74fae3a347b190d5a6 100644 (file)
@@ -34,7 +34,7 @@ public interface NhcControllerEvent {
      *
      * @return the addr
      */
-    public default @Nullable InetAddress getAddr() {
+    default @Nullable InetAddress getAddr() {
         return null;
     }
 
@@ -43,7 +43,7 @@ public interface NhcControllerEvent {
      *
      * @return the port
      */
-    public default int getPort() {
+    default int getPort() {
         return 0;
     }
 
@@ -52,7 +52,7 @@ public interface NhcControllerEvent {
      *
      * @return the profile
      */
-    public default String getProfile() {
+    default String getProfile() {
         return "";
     }
 
@@ -61,7 +61,7 @@ public interface NhcControllerEvent {
      *
      * @return the token
      */
-    public default String getToken() {
+    default String getToken() {
         return "";
     }
 
@@ -70,37 +70,37 @@ public interface NhcControllerEvent {
      *
      * @return the zone ID
      */
-    public ZoneId getTimeZone();
+    ZoneId getTimeZone();
 
     /**
      * Called to indicate the connection with the Niko Home Control Controller is offline.
      *
      * @param message
      */
-    public void controllerOffline(String message);
+    void controllerOffline(String message);
 
     /**
      * Called to indicate the connection with the Niko Home Control Controller is online.
      *
      */
-    public void controllerOnline();
+    void controllerOnline();
 
     /**
      * This method is called when an alarm event is received from the Niko Home Control controller.
      *
      * @param alarmText
      */
-    public void alarmEvent(String alarmText);
+    void alarmEvent(String alarmText);
 
     /**
      * This method is called when a notice event is received from the Niko Home Control controller.
      *
      * @param alarmText
      */
-    public void noticeEvent(String noticeText);
+    void noticeEvent(String noticeText);
 
     /**
      * This method is called when properties are updated from the Niko Home Control controller.
      */
-    public void updatePropertiesEvent();
+    void updatePropertiesEvent();
 }
index b58d31afbabf06c0f19ca10e3d35538480a815d6..8ab40a9a4db94c5d56d6a6484a6cc9634d9b4485 100644 (file)
@@ -32,17 +32,17 @@ public interface NhcEnergyMeterEvent {
      *
      * @param power current power consumption/production in W (positive for consumption), null for an empty reading
      */
-    public void energyMeterEvent(@Nullable Integer power);
+    void energyMeterEvent(@Nullable Integer power);
 
     /**
      * Called to indicate the energyMeter has been initialized.
      *
      */
-    public void energyMeterInitialized();
+    void energyMeterInitialized();
 
     /**
      * Called to indicate the energyMeter has been removed from the Niko Home Control controller.
      *
      */
-    public void energyMeterRemoved();
+    void energyMeterRemoved();
 }
index 58866f618046cd65f4aba65aab7f697a18157e62..75a38212dd82036f32e8c755257b790158887eae 100644 (file)
@@ -35,17 +35,17 @@ public interface NhcThermostatEvent {
      * @param overrule the overrule temperature in 0.1°C multiples
      * @param demand 0 if no demand, > 0 if heating, < 0 if cooling
      */
-    public void thermostatEvent(int measured, int setpoint, int mode, int overrule, int demand);
+    void thermostatEvent(int measured, int setpoint, int mode, int overrule, int demand);
 
     /**
      * Called to indicate the thermostat has been initialized.
      *
      */
-    public void thermostatInitialized();
+    void thermostatInitialized();
 
     /**
      * Called to indicate the thermostat has been removed from the Niko Home Control controller.
      *
      */
-    public void thermostatRemoved();
+    void thermostatRemoved();
 }
index 54cb81ea411941b04208d9d21f4a7df30b7c3fa0..684abbebe301aacec2578cdb21c48fcaf71f818f 100644 (file)
@@ -29,5 +29,5 @@ public interface NuvoMessageEventListener extends EventListener {
      *
      * @param event the NuvoMessageEvent object
      */
-    public void onNewMessageEvent(NuvoMessageEvent event);
+    void onNewMessageEvent(NuvoMessageEvent event);
 }
index 9e149136ecee491f87943f5e45ee919bacc7f148..eace11a85124da23eecd4471ee271147f9a42cfd 100644 (file)
@@ -42,21 +42,21 @@ public interface OpenSprinklerApi {
      *
      * @return True if this API interface is connected to the Open Sprinkler API. False otherwise.
      */
-    public abstract boolean isManualModeEnabled();
+    boolean isManualModeEnabled();
 
     /**
      * Enters the "manual" mode of the device so that API requests are accepted.
      *
      * @throws Exception
      */
-    public abstract void enterManualMode() throws CommunicationApiException, UnauthorizedApiException;
+    void enterManualMode() throws CommunicationApiException, UnauthorizedApiException;
 
     /**
      * Disables the manual mode, if it is enabled.
      *
      * @throws Exception
      */
-    public abstract void leaveManualMode() throws CommunicationApiException, UnauthorizedApiException;
+    void leaveManualMode() throws CommunicationApiException, UnauthorizedApiException;
 
     /**
      * Starts a station on the OpenSprinkler device for the specified duration.
@@ -65,8 +65,7 @@ public interface OpenSprinklerApi {
      * @param duration The duration in seconds for how long the station should be turned on.
      * @throws Exception
      */
-    public abstract void openStation(int station, BigDecimal duration)
-            throws CommunicationApiException, GeneralApiException;
+    void openStation(int station, BigDecimal duration) throws CommunicationApiException, GeneralApiException;
 
     /**
      * Closes a station on the OpenSprinkler device.
@@ -74,7 +73,7 @@ public interface OpenSprinklerApi {
      * @param station Index of the station to open starting at 0.
      * @throws Exception
      */
-    public abstract void closeStation(int station) throws CommunicationApiException, GeneralApiException;
+    void closeStation(int station) throws CommunicationApiException, GeneralApiException;
 
     /**
      * Returns the state of a station on the OpenSprinkler device.
@@ -83,7 +82,7 @@ public interface OpenSprinklerApi {
      * @return True if the station is open, false if it is closed or cannot determine.
      * @throws Exception
      */
-    public abstract boolean isStationOpen(int station) throws CommunicationApiException, GeneralApiException;
+    boolean isStationOpen(int station) throws CommunicationApiException, GeneralApiException;
 
     /**
      * Returns the current program data of the requested station.
@@ -92,7 +91,7 @@ public interface OpenSprinklerApi {
      * @return StationProgram
      * @throws Exception
      */
-    public abstract StationProgram retrieveProgram(int station) throws CommunicationApiException;
+    StationProgram retrieveProgram(int station) throws CommunicationApiException;
 
     /**
      * Returns the state of rain detection on the OpenSprinkler device.
@@ -100,55 +99,55 @@ public interface OpenSprinklerApi {
      * @return True if rain is detected, false if not or cannot determine.
      * @throws Exception
      */
-    public abstract boolean isRainDetected();
+    boolean isRainDetected();
 
     /**
      * Returns the current draw of all connected zones of the OpenSprinkler device in milliamperes.
      *
      * @return current draw in milliamperes or -1 if sensor not supported
      */
-    public abstract int currentDraw();
+    int currentDraw();
 
     /**
      * Returns the state of the second sensor.
      *
      * @return 1: sensor is active; 0: sensor is inactive; -1: no sensor.
      */
-    public abstract int getSensor2State();
+    int getSensor2State();
 
     /**
      *
      * @return The Wifi signal strength in -dB or 0 if not supported by firmware
      */
-    public abstract int signalStrength();
+    int signalStrength();
 
     /**
      *
      * @return The pulses that the flow sensor has given in the last time period, -1 if not supported.
      */
-    public abstract int flowSensorCount();
+    int flowSensorCount();
 
     /**
      * CLOSES all stations turning them all off.
      *
      */
-    public abstract void resetStations() throws UnauthorizedApiException, CommunicationApiException;
+    void resetStations() throws UnauthorizedApiException, CommunicationApiException;
 
     /**
      * Returns true if the internal programs are allowed to auto start.
      *
      * @return true if enabled
      */
-    public abstract boolean getIsEnabled();
+    boolean getIsEnabled();
 
-    public abstract void enablePrograms(Command command) throws UnauthorizedApiException, CommunicationApiException;
+    void enablePrograms(Command command) throws UnauthorizedApiException, CommunicationApiException;
 
     /**
      * Returns the water level in %.
      *
      * @return waterLevel in %
      */
-    public abstract int waterLevel();
+    int waterLevel();
 
     /**
      * Returns the number of total stations that are controllable from the OpenSprinkler
@@ -156,7 +155,7 @@ public interface OpenSprinklerApi {
      *
      * @return Number of stations as an int.
      */
-    public abstract int getNumberOfStations();
+    int getNumberOfStations();
 
     /**
      * Returns the firmware version number.
@@ -164,7 +163,7 @@ public interface OpenSprinklerApi {
      * @return The firmware version of the OpenSprinkler device as an int.
      * @throws Exception
      */
-    public abstract int getFirmwareVersion() throws CommunicationApiException, UnauthorizedApiException;
+    int getFirmwareVersion() throws CommunicationApiException, UnauthorizedApiException;
 
     /**
      * Sends all the GET requests and stores/cache the responses for use by the API to prevent the need for multiple
@@ -173,7 +172,7 @@ public interface OpenSprinklerApi {
      * @throws CommunicationApiException
      * @throws UnauthorizedApiException
      */
-    public abstract void refresh() throws CommunicationApiException, UnauthorizedApiException;
+    void refresh() throws CommunicationApiException, UnauthorizedApiException;
 
     /**
      * Ask the OpenSprinkler for the program names and store these for future use in a List.
@@ -181,21 +180,21 @@ public interface OpenSprinklerApi {
      * @throws CommunicationApiException
      * @throws UnauthorizedApiException
      */
-    public abstract void getProgramData() throws CommunicationApiException, UnauthorizedApiException;
+    void getProgramData() throws CommunicationApiException, UnauthorizedApiException;
 
     /**
      * Returns a list of all internal programs as a list of StateOptions.
      *
      * @return List<StateOption>
      */
-    public abstract List<StateOption> getPrograms();
+    List<StateOption> getPrograms();
 
     /**
      * Return a list of all the stations the device has as List of StateOptions
      *
      * @return List<StateOption>
      */
-    public abstract List<StateOption> getStations();
+    List<StateOption> getStations();
 
     /**
      * Runs a Program that is setup and stored inside the OpenSprinkler
@@ -205,7 +204,7 @@ public interface OpenSprinklerApi {
      * @throws CommunicationApiException
      * @throws UnauthorizedApiException
      */
-    public abstract void runProgram(Command command) throws CommunicationApiException, UnauthorizedApiException;
+    void runProgram(Command command) throws CommunicationApiException, UnauthorizedApiException;
 
     /**
      * Fetch the station names and place them in a list of List<StateOption>.
@@ -214,7 +213,7 @@ public interface OpenSprinklerApi {
      * @throws CommunicationApiException
      * @throws UnauthorizedApiException
      */
-    public abstract JnResponse getStationNames() throws CommunicationApiException, UnauthorizedApiException;
+    JnResponse getStationNames() throws CommunicationApiException, UnauthorizedApiException;
 
     /**
      * Tells a single station to ignore the rain delay.
@@ -224,7 +223,7 @@ public interface OpenSprinklerApi {
      * @throws CommunicationApiException
      * @throws UnauthorizedApiException
      */
-    public void ignoreRain(int station, boolean command) throws CommunicationApiException, UnauthorizedApiException;
+    void ignoreRain(int station, boolean command) throws CommunicationApiException, UnauthorizedApiException;
 
     /**
      * Asks if a single station is set to ignore rain delays.
@@ -232,7 +231,7 @@ public interface OpenSprinklerApi {
      * @param station
      * @return
      */
-    public abstract boolean isIgnoringRain(int station);
+    boolean isIgnoringRain(int station);
 
     /**
      * Sets how long the OpenSprinkler device will stop running programs for.
@@ -241,12 +240,12 @@ public interface OpenSprinklerApi {
      * @throws UnauthorizedApiException
      * @throws CommunicationApiException
      */
-    public abstract void setRainDelay(int hours) throws UnauthorizedApiException, CommunicationApiException;
+    void setRainDelay(int hours) throws UnauthorizedApiException, CommunicationApiException;
 
     /**
      * Gets the rain delay in hours from the OpenSprinkler device.
      *
      * @return QuantityType<Time>
      */
-    public abstract QuantityType<Time> getRainDelay();
+    QuantityType<Time> getRainDelay();
 }
index 0a937ff6caeca0f2c80b0a0fef721af4b24ba772..b344b14c8c73506b661b4edb38606a5f21cb6e33 100644 (file)
@@ -29,5 +29,5 @@ public interface OppoMessageEventListener extends EventListener {
      *
      * @param event the OppoMessageEvent object
      */
-    public void onNewMessageEvent(OppoMessageEvent event);
+    void onNewMessageEvent(OppoMessageEvent event);
 }
index 9de256b6db3ba1e87f2b67f07e2ce10be387ed57..83a69e2eadf432f30e943c2cb64a895a0323d245 100644 (file)
@@ -22,7 +22,7 @@ public interface AvrCommand {
     /**
      * Represent a CommandType of command requests
      */
-    public interface CommandType {
+    interface CommandType {
         /**
          * Return the command of this command type.
          *
@@ -52,19 +52,19 @@ public interface AvrCommand {
      *
      * @return
      */
-    public String getCommand();
+    String getCommand();
 
     /**
      * Return the number of the zone this command will be sent to.
      *
      * @return
      */
-    public int getZone();
+    int getZone();
 
     /**
      * Return the the command type of this command.
      *
      * @return
      */
-    public CommandType getCommandType();
+    CommandType getCommandType();
 }
index d7725764fa398bc12c380a064b3ce45781e0d5c4..8909c7bb26eba66de9bb89e6bda91e7ac84aa1c8 100644 (file)
@@ -29,32 +29,32 @@ public interface AvrConnection {
      *
      * @param listener
      */
-    public void addUpdateListener(AvrUpdateListener listener);
+    void addUpdateListener(AvrUpdateListener listener);
 
     /**
      * Add a disconnection listener. It is notified when the AVR is disconnected.
      *
      * @param listener
      */
-    public void addDisconnectionListener(AvrDisconnectionListener listener);
+    void addDisconnectionListener(AvrDisconnectionListener listener);
 
     /**
      * Connect to the receiver. Return true if the connection has succeeded or if already connected.
      *
      **/
-    public boolean connect();
+    boolean connect();
 
     /**
      * Return true if this manager is connected to the AVR.
      *
      * @return
      */
-    public boolean isConnected();
+    boolean isConnected();
 
     /**
      * Closes the connection.
      **/
-    public void close();
+    void close();
 
     /**
      * Send a power state query to the AVR
@@ -62,7 +62,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendPowerQuery(int zone);
+    boolean sendPowerQuery(int zone);
 
     /**
      * Send a volume level query to the AVR
@@ -70,7 +70,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendVolumeQuery(int zone);
+    boolean sendVolumeQuery(int zone);
 
     /**
      * Send a mute state query to the AVR
@@ -78,7 +78,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendMuteQuery(int zone);
+    boolean sendMuteQuery(int zone);
 
     /**
      * Send a source input state query to the AVR
@@ -86,7 +86,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendInputSourceQuery(int zone);
+    boolean sendInputSourceQuery(int zone);
 
     /**
      * Send a listening mode state query to the AVR
@@ -94,14 +94,14 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendListeningModeQuery(int zone);
+    boolean sendListeningModeQuery(int zone);
 
     /**
      * Send an MCACC Memory query to the AVR
      *
      * @return
      */
-    public boolean sendMCACCMemoryQuery();
+    boolean sendMCACCMemoryQuery();
 
     /**
      * Send a power command ot the AVR based on the openHAB command
@@ -110,7 +110,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendPowerCommand(Command command, int zone) throws CommandTypeNotSupportedException;
+    boolean sendPowerCommand(Command command, int zone) throws CommandTypeNotSupportedException;
 
     /**
      * Send a volume command to the AVR based on the openHAB command
@@ -119,7 +119,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendVolumeCommand(Command command, int zone) throws CommandTypeNotSupportedException;
+    boolean sendVolumeCommand(Command command, int zone) throws CommandTypeNotSupportedException;
 
     /**
      * Send a source input selection command to the AVR based on the openHAB command
@@ -128,7 +128,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendInputSourceCommand(Command command, int zone) throws CommandTypeNotSupportedException;
+    boolean sendInputSourceCommand(Command command, int zone) throws CommandTypeNotSupportedException;
 
     /**
      * Send a listening mode selection command to the AVR based on the openHAB command
@@ -137,7 +137,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendListeningModeCommand(Command command, int zone) throws CommandTypeNotSupportedException;
+    boolean sendListeningModeCommand(Command command, int zone) throws CommandTypeNotSupportedException;
 
     /**
      * Send a mute command to the AVR based on the openHAB command
@@ -146,7 +146,7 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendMuteCommand(Command command, int zone) throws CommandTypeNotSupportedException;
+    boolean sendMuteCommand(Command command, int zone) throws CommandTypeNotSupportedException;
 
     /**
      * Send an MCACC Memory selection command to the AVR based on the openHAB command
@@ -155,12 +155,12 @@ public interface AvrConnection {
      * @param zone
      * @return
      */
-    public boolean sendMCACCMemoryCommand(Command command) throws CommandTypeNotSupportedException;
+    boolean sendMCACCMemoryCommand(Command command) throws CommandTypeNotSupportedException;
 
     /**
      * Return the connection name
      *
      * @return
      */
-    public String getConnectionName();
+    String getConnectionName();
 }
index 28c030e375b6076ec724c9fab751e24368430fcf..874789c79f5aa4c8b3f88d360ea081b3be6742ed 100644 (file)
@@ -25,7 +25,7 @@ public interface AvrResponse {
     /**
      * Represent the type of a response.
      */
-    public interface AvrResponseType {
+    interface AvrResponseType {
 
         /**
          * Return the prefix of the command of this type.
@@ -73,26 +73,26 @@ public interface AvrResponse {
      *
      * @return
      */
-    public ResponseType getResponseType();
+    ResponseType getResponseType();
 
     /**
      * Return the parameter of this response or null if the resposne has no parameter.
      *
      * @return
      */
-    public String getParameterValue();
+    String getParameterValue();
 
     /**
      * Return true if this response has a parameter.
      *
      * @return
      */
-    public boolean hasParameter();
+    boolean hasParameter();
 
     /**
      * Return the zone number which is concerned by this response.
      *
      * @return
      */
-    public Integer getZone();
+    Integer getZone();
 }
index bb90ce94bdfa272a0ab551d33bdc8be69408c7ae..d256256e1f9157a7aa70de7252e4ebf499194480 100644 (file)
@@ -24,5 +24,5 @@ public interface AvrDisconnectionListener {
      *
      * @param event
      */
-    public void onDisconnection(AvrDisconnectionEvent event);
+    void onDisconnection(AvrDisconnectionEvent event);
 }
index 86905bc133f79f2181619ef385a950f012cb9e16..a430cac22caa8b36a4b30bd38997d3169456cbcb 100644 (file)
@@ -27,5 +27,5 @@ public interface AvrUpdateListener extends EventListener {
     /**
      * Procedure for receive status update from Pioneer receiver.
      */
-    public void statusUpdateReceived(AvrStatusUpdateEvent event);
+    void statusUpdateReceived(AvrStatusUpdateEvent event);
 }
index 29819a71524e01822b2d9ea35bb6f81a40d6acbc..da8ffa9837ffa3acc13c881f055318a5e4efb67e 100644 (file)
@@ -18,6 +18,6 @@ package org.openhab.binding.pioneeravr.internal.protocol.states;
  */
 public interface MuteStateValues {
 
-    public static final String ON_VALUE = "0";
-    public static final String OFF_VALUE = "1";
+    static final String ON_VALUE = "0";
+    static final String OFF_VALUE = "1";
 }
index 0579d2ebed669d748a239537b7cdcaae82d9e0a3..43f8fb8a1643e99a0a2f821ddefee5e643a0b1a3 100644 (file)
@@ -18,7 +18,7 @@ package org.openhab.binding.pioneeravr.internal.protocol.states;
  */
 public interface PowerStateValues {
 
-    public static final String ON_VALUE = "0";
-    public static final String OFF_VALUE = "1";
-    public static final String NETWORK_STANDBY_VALUE = "2";
+    static final String ON_VALUE = "0";
+    static final String OFF_VALUE = "1";
+    static final String NETWORK_STANDBY_VALUE = "2";
 }
index 8abe047a490d354facf916357e4a87f2d7a153e5..94248dc78403dfe8c61066411cb0192ec82e1cef 100644 (file)
@@ -23,5 +23,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface Command<ResponseType extends Response<?>> {
-    public ResponseType execute() throws ResponseException, IOException, AuthenticationException;
+    ResponseType execute() throws ResponseException, IOException, AuthenticationException;
 }
index d4839e0ffb870db0348128a2bf24fff06acc5a71..48e8f9c7f34a2cbe638e024d271a67094fc18560 100644 (file)
@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface Request {
-    public String getRequestString() throws AuthenticationException;
+    String getRequestString() throws AuthenticationException;
 }
index 145a9a4f7ef97f852c3de479d1acbc602cf711e1..9248811fa2ee6db5be77d1bbfa005d2153dad351 100644 (file)
@@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface Response<ResponseType> {
-    public ResponseType parse(String response) throws ResponseException;
+    ResponseType parse(String response) throws ResponseException;
 }
index 61c44be47d443a029f6a8128a79e3028ac49d8ec..f249653d2006846306c253dec0ef7c9cef4c5e25 100644 (file)
@@ -24,5 +24,5 @@ import org.openhab.core.thing.ThingStatus;
 @NonNullByDefault
 public interface PlugwiseStickStatusListener {
 
-    public void stickStatusChanged(ThingStatus status);
+    void stickStatusChanged(ThingStatus status);
 }
index 14cc5e74fbe54fa1e82c9935176a01a3012abe9c..ecd96d8eff5b6502a57e17fa06b1050ce4fd919a 100644 (file)
@@ -24,5 +24,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface PlugwiseHAModel {
 
-    public abstract boolean isBatteryOperated();
+    boolean isBatteryOperated();
 }
index b4c0ba9845960665364092d7e2b9177955581728..a827067b8addf62e45a003422cccc0499da2af37 100644 (file)
@@ -16,9 +16,9 @@ package org.openhab.binding.plugwiseha.internal.api.model.dto;
  * @author B. van Wetten - Initial contribution
  */
 public interface PlugwiseComparableDate<T extends PlugwiseBaseModel> {
-    public int compareDateWith(T hasModifiedDate);
+    int compareDateWith(T hasModifiedDate);
 
-    public boolean isOlderThan(T hasModifiedDate);
+    boolean isOlderThan(T hasModifiedDate);
 
-    public boolean isNewerThan(T hasModifiedDate);
+    boolean isNewerThan(T hasModifiedDate);
 }
index 9c2a0617cb7abcdad1d1b7bac67ef02039f3e4c6..26eb55ff86228a22d821460c1fd82a9bf4dec467 100644 (file)
@@ -28,45 +28,45 @@ public interface PowermaxConnectorInterface {
     /**
      * Method for opening a connection to the Visonic alarm panel.
      */
-    public void open() throws Exception;
+    void open() throws Exception;
 
     /**
      * Method for closing a connection to the Visonic alarm panel.
      */
-    public void close();
+    void close();
 
     /**
      * Returns connection status
      *
      * @return: true if connected or false if not
      **/
-    public boolean isConnected();
+    boolean isConnected();
 
     /**
      * Method for sending a message to the Visonic alarm panel
      *
      * @param data the message as a table of bytes
      **/
-    public void sendMessage(byte[] data);
+    void sendMessage(byte[] data);
 
     /**
      * Method for reading data from the Visonic alarm panel
      *
      * @param buffer the buffer into which the data is read
      **/
-    public int read(byte[] buffer) throws IOException;
+    int read(byte[] buffer) throws IOException;
 
     /**
      * Method for registering an event listener
      *
      * @param listener the listener to be registered
      */
-    public void addEventListener(PowermaxMessageEventListener listener);
+    void addEventListener(PowermaxMessageEventListener listener);
 
     /**
      * Method for removing an event listener
      *
      * @param listener the listener to be removed
      */
-    public void removeEventListener(PowermaxMessageEventListener listener);
+    void removeEventListener(PowermaxMessageEventListener listener);
 }
index f67eede3cf78b0cb5401c7ccaafd56effc8d0438..c1cf51614a64db791fe4daa1042e72c7320bb8f1 100644 (file)
@@ -30,10 +30,10 @@ public interface PowermaxMessageEventListener extends EventListener {
      *
      * @param event the event object
      */
-    public void onNewMessageEvent(EventObject event);
+    void onNewMessageEvent(EventObject event);
 
     /**
      * Event handler method to indicate that communication has been lost
      */
-    public void onCommunicationFailure(String message);
+    void onCommunicationFailure(String message);
 }
index 4bbc883845924c70d913b309c296ac72dc7d7fa5..2859ddf10cdf49f555c933808b0edf95115c41f3 100644 (file)
@@ -30,7 +30,7 @@ public interface PowermaxPanelSettingsListener {
      *
      * @param settings the updated alarm panel settings or null if the panel settings are unknown
      */
-    public void onPanelSettingsUpdated(@Nullable PowermaxPanelSettings settings);
+    void onPanelSettingsUpdated(@Nullable PowermaxPanelSettings settings);
 
     /**
      * This method is called when the bridge thing handler identifies
@@ -39,5 +39,5 @@ public interface PowermaxPanelSettingsListener {
      * @param zoneNumber the zone number
      * @param settings the updated alarm panel settings or null if the panel settings are unknown
      */
-    public void onZoneSettingsUpdated(int zoneNumber, @Nullable PowermaxPanelSettings settings);
+    void onZoneSettingsUpdated(int zoneNumber, @Nullable PowermaxPanelSettings settings);
 }
index 18ddb5f2b6ec0f14323571e789095c7f10ea6222..667ac40e65deefa668fd51c0ccadecc48a6d04fa 100644 (file)
@@ -30,10 +30,10 @@ public interface PowermaxStateEventListener extends EventListener {
      *
      * @param event the event object
      */
-    public void onNewStateEvent(EventObject event);
+    void onNewStateEvent(EventObject event);
 
     /**
      * Event handler method to indicate that communication has been lost
      */
-    public void onCommunicationFailure(String message);
+    void onCommunicationFailure(String message);
 }
index 183cff08e8e97dcdc66c8860fd73daede3dc3e45..01640f3d6c9b8f0237c44017e4aee4e8dbf17d33 100644 (file)
@@ -24,5 +24,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface SerialPortService {
-    public InputStream getInputStream(String portId, int baudRate, int numDataBits, int numStopBits, int parity);
+    InputStream getInputStream(String portId, int baudRate, int numDataBits, int numStopBits, int parity);
 }
index faa6146bd44118db30ec619ead99b64b8ae0999f..b9cb2182d635b57e11049fbb102e7bbf3e4ed02a 100644 (file)
@@ -23,5 +23,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface PulseAudioBindingConfigurationListener {
 
-    public void bindingConfigurationChanged();
+    void bindingConfigurationChanged();
 }
index e1d71f320669606f813e9cbfd40a29179c8a3f09..17c31c42a5d7fd288e2470dfb1f8e484252db59f 100644 (file)
@@ -31,5 +31,5 @@ public interface DeviceStatusListener {
      * @param bridge The Pulseaudio bridge the added device was connected to.
      * @param device The device which is added.
      */
-    public void onDeviceAdded(Thing bridge, AbstractAudioDeviceConfig device);
+    void onDeviceAdded(Thing bridge, AbstractAudioDeviceConfig device);
 }
index 53eb417bcb53efd49f6513ca81b1b24f7eb4c66f..c95eb223d116c75b9deee1d8b7a21f47aa2c4fe6 100644 (file)
@@ -28,10 +28,10 @@ public interface QolsysIQChildDiscoveryHandler {
      *
      * @param service
      */
-    public void setDiscoveryService(QolsysIQChildDiscoveryService service);
+    void setDiscoveryService(QolsysIQChildDiscoveryService service);
 
     /**
      * Initiates the discovery process
      */
-    public void startDiscovery();
+    void startDiscovery();
 }
index 10994dc8f79f15a61053dc7fa574a55151653eab..8b2c569fad548657b6087076a1f7d1fc929eec82 100644 (file)
@@ -29,5 +29,5 @@ public interface RadioThermostatEventListener extends EventListener {
      *
      * @param event the event object
      */
-    public void onNewMessageEvent(RadioThermostatEvent event);
+    void onNewMessageEvent(RadioThermostatEvent event);
 }
index 113bd9d0b5a6874cc097bf6a7bb227ae9e73b1f1..fc2005c9065fb8bb756800694b70f4ac40a10966 100644 (file)
@@ -29,27 +29,27 @@ public interface RegoConnection {
      * Connect to the receiver. Return true if the connection has succeeded or if already connected.
      *
      **/
-    public void connect() throws IOException;
+    void connect() throws IOException;
 
     /**
      * Return true if this manager is connected to the AVR.
      *
      * @return
      */
-    public boolean isConnected();
+    boolean isConnected();
 
     /**
      * Closes the connection.
      **/
-    public void close();
+    void close();
 
     /**
      * Returns an output stream for this connection.
      */
-    public OutputStream outputStream() throws IOException;
+    OutputStream outputStream() throws IOException;
 
     /**
      * Returns an input stream for this connection.
      */
-    public InputStream inputStream() throws IOException;
+    InputStream inputStream() throws IOException;
 }
index 1f63d8970481c633b776ac15853ddad5a2255c9a..06a64e79bdbbab8cbce63cc7e9709d81ac1e3ddc 100644 (file)
@@ -21,7 +21,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface ResponseParser<T> {
-    public int responseLength();
+    int responseLength();
 
-    public T parse(byte[] buffer) throws Rego6xxProtocolException;
+    T parse(byte[] buffer) throws Rego6xxProtocolException;
 }
index 38f4c6fd3e528d77ea0c0d9fbb68986aed618d82..05003d3425f7464dd82858e667e184e8e2df1e63 100644 (file)
@@ -22,7 +22,7 @@ import org.openhab.binding.rfxcom.internal.messages.RFXComDeviceMessage;
  * @author James Hewitt-Thomas - Convert to interface and add validation and matching
  */
 public interface RFXComDeviceConfiguration {
-    public void parseAndValidate() throws RFXComInvalidParameterException;
+    void parseAndValidate() throws RFXComInvalidParameterException;
 
-    public boolean matchesMessage(RFXComDeviceMessage message);
+    boolean matchesMessage(RFXComDeviceMessage message);
 }
index 24add63319b93eea643eb0eadd5c4edf98ae5887..ff40faf869822a9a6e968877c68116a425fb66f1 100644 (file)
@@ -27,8 +27,8 @@ import org.openhab.core.types.Command;
  * @author James Hewitt-Thomas - Switch to making messages for a specific command
  */
 public interface RFXComMessageFactory {
-    public RFXComMessage createMessage(PacketType packetType, RFXComDeviceConfiguration config, ChannelUID channelUID,
+    RFXComMessage createMessage(PacketType packetType, RFXComDeviceConfiguration config, ChannelUID channelUID,
             Command command) throws RFXComException;
 
-    public RFXComMessage createMessage(byte[] packet) throws RFXComException;
+    RFXComMessage createMessage(byte[] packet) throws RFXComException;
 }
index 0f634747005a14e1f9887fd9f4fe6da7b8ba8b1f..e762c016e4b37c67adc236eb08d9a05c708dd5f5 100644 (file)
@@ -30,5 +30,5 @@ public interface RotelMessageEventListener extends EventListener {
      *
      * @param event the event object
      */
-    public void onNewMessageEvent(EventObject event);
+    void onNewMessageEvent(EventObject event);
 }
index d28d39421b42103cff35d2b17b2debd17dba14c7..a0bf5d6434d9b7b7a5e26c0b92a90fcbed34ed45 100644 (file)
@@ -27,7 +27,7 @@ public interface SocketSessionListener {
      * @param response a non-null, possibly empty response
      * @throws InterruptedException if the response processing was interrupted
      */
-    public void responseReceived(String response) throws InterruptedException;
+    void responseReceived(String response) throws InterruptedException;
 
     /**
      * Called when a command finished with an exception or a general exception occurred while reading
@@ -35,5 +35,5 @@ public interface SocketSessionListener {
      * @param e a non-null io exception
      * @throws InterruptedException if the exception processing was interrupted
      */
-    public void responseException(IOException e) throws InterruptedException;
+    void responseException(IOException e) throws InterruptedException;
 }
index 3e2afb549322e89b28f6405eed23dafd6021cb28..4af1406abaff8c3a892c3c12d235a6ebac67c652 100644 (file)
@@ -37,7 +37,7 @@ public interface SatelCommand {
      * @author Krzysztof Goworek - Initial contribution
      *
      */
-    public enum State {
+    enum State {
         NEW,
         ENQUEUED,
         SENT,
index e07ab2605d4a8b46454e1f234f8cda3ca95b4d74..2c8c8370d5665d5060ae4b95a4b7f875d324340e 100644 (file)
@@ -67,7 +67,7 @@ public interface StateType {
      * @param states list of states
      * @return built bit set
      */
-    public static BitSet getStatesBitSet(StateType... states) {
+    static BitSet getStatesBitSet(StateType... states) {
         BitSet stateBits = new BitSet();
         for (StateType state : states) {
             stateBits.set(state.getRefreshCommand());
@@ -78,7 +78,7 @@ public interface StateType {
     /**
      * Marker instance for lack of state type.
      */
-    public static final StateType NONE = new StateType() {
+    static final StateType NONE = new StateType() {
 
         @Override
         public byte getRefreshCommand() {
index e1bac9711690cf4734e5df51e802debc2e33c2df..180802dae212e40030a37a3aaef6fa0e9d980d7a 100644 (file)
@@ -19,7 +19,7 @@ package org.openhab.binding.seneye.internal;
  */
 
 public interface ReadingsUpdate {
-    public void newState(SeneyeDeviceReading devicereadings);
+    void newState(SeneyeDeviceReading devicereadings);
 
-    public void invalidConfig();
+    void invalidConfig();
 }
index 536bda9c6c960ec094c9a8eb2f1ad8d3dc018cfc..9904ed97f9261dc3f1a526b897b8a2fd4e5a9dcc 100644 (file)
@@ -34,104 +34,104 @@ import org.openhab.binding.shelly.internal.config.ShellyThingConfiguration;
  */
 @NonNullByDefault
 public interface ShellyApiInterface {
-    public boolean isInitialized();
+    boolean isInitialized();
 
-    public void initialize() throws ShellyApiException;
+    void initialize() throws ShellyApiException;
 
-    public void setConfig(String thingName, ShellyThingConfiguration config);
+    void setConfig(String thingName, ShellyThingConfiguration config);
 
-    public ShellySettingsDevice getDeviceInfo() throws ShellyApiException;
+    ShellySettingsDevice getDeviceInfo() throws ShellyApiException;
 
-    public ShellyDeviceProfile getDeviceProfile(String thingType) throws ShellyApiException;
+    ShellyDeviceProfile getDeviceProfile(String thingType) throws ShellyApiException;
 
-    public ShellySettingsStatus getStatus() throws ShellyApiException;
+    ShellySettingsStatus getStatus() throws ShellyApiException;
 
-    public void setLedStatus(String ledName, Boolean value) throws ShellyApiException;
+    void setLedStatus(String ledName, Boolean value) throws ShellyApiException;
 
-    public void setSleepTime(int value) throws ShellyApiException;
+    void setSleepTime(int value) throws ShellyApiException;
 
-    public ShellyStatusRelay getRelayStatus(int relayIndex) throws ShellyApiException;
+    ShellyStatusRelay getRelayStatus(int relayIndex) throws ShellyApiException;
 
-    public void setRelayTurn(int id, String turnMode) throws ShellyApiException;
+    void setRelayTurn(int id, String turnMode) throws ShellyApiException;
 
-    public ShellyRollerStatus getRollerStatus(int rollerIndex) throws ShellyApiException;
+    ShellyRollerStatus getRollerStatus(int rollerIndex) throws ShellyApiException;
 
-    public void setRollerTurn(int relayIndex, String turnMode) throws ShellyApiException;
+    void setRollerTurn(int relayIndex, String turnMode) throws ShellyApiException;
 
-    public void setRollerPos(int relayIndex, int position) throws ShellyApiException;
+    void setRollerPos(int relayIndex, int position) throws ShellyApiException;
 
-    public void setAutoTimer(int index, String timerName, double value) throws ShellyApiException;
+    void setAutoTimer(int index, String timerName, double value) throws ShellyApiException;
 
-    public ShellyStatusSensor getSensorStatus() throws ShellyApiException;
+    ShellyStatusSensor getSensorStatus() throws ShellyApiException;
 
-    public ShellyStatusLight getLightStatus() throws ShellyApiException;
+    ShellyStatusLight getLightStatus() throws ShellyApiException;
 
-    public ShellyShortLightStatus getLightStatus(int index) throws ShellyApiException;
+    ShellyShortLightStatus getLightStatus(int index) throws ShellyApiException;
 
-    public void setLightMode(String mode) throws ShellyApiException;
+    void setLightMode(String mode) throws ShellyApiException;
 
-    public void setLightParm(int lightIndex, String parm, String value) throws ShellyApiException;
+    void setLightParm(int lightIndex, String parm, String value) throws ShellyApiException;
 
-    public void setLightParms(int lightIndex, Map<String, String> parameters) throws ShellyApiException;
+    void setLightParms(int lightIndex, Map<String, String> parameters) throws ShellyApiException;
 
-    public ShellyShortLightStatus setLightTurn(int id, String turnMode) throws ShellyApiException;
+    ShellyShortLightStatus setLightTurn(int id, String turnMode) throws ShellyApiException;
 
-    public void setBrightness(int id, int brightness, boolean autoOn) throws ShellyApiException;
+    void setBrightness(int id, int brightness, boolean autoOn) throws ShellyApiException;
 
     // Valve
-    public void setValveMode(int id, boolean auto) throws ShellyApiException;
+    void setValveMode(int id, boolean auto) throws ShellyApiException;
 
-    public void setValveTemperature(int valveId, int value) throws ShellyApiException;
+    void setValveTemperature(int valveId, int value) throws ShellyApiException;
 
-    public void setValveProfile(int valveId, int value) throws ShellyApiException;
+    void setValveProfile(int valveId, int value) throws ShellyApiException;
 
-    public void setValvePosition(int valveId, double value) throws ShellyApiException;
+    void setValvePosition(int valveId, double value) throws ShellyApiException;
 
-    public void setValveBoostTime(int valveId, int value) throws ShellyApiException;
+    void setValveBoostTime(int valveId, int value) throws ShellyApiException;
 
-    public void startValveBoost(int valveId, int value) throws ShellyApiException;
+    void startValveBoost(int valveId, int value) throws ShellyApiException;
 
-    public ShellyOtaCheckResult checkForUpdate() throws ShellyApiException;
+    ShellyOtaCheckResult checkForUpdate() throws ShellyApiException;
 
-    public ShellySettingsUpdate firmwareUpdate(String uri) throws ShellyApiException;
+    ShellySettingsUpdate firmwareUpdate(String uri) throws ShellyApiException;
 
-    public ShellySettingsLogin getLoginSettings() throws ShellyApiException;
+    ShellySettingsLogin getLoginSettings() throws ShellyApiException;
 
-    public ShellySettingsLogin setLoginCredentials(String user, String password) throws ShellyApiException;
+    ShellySettingsLogin setLoginCredentials(String user, String password) throws ShellyApiException;
 
-    public String setWiFiRecovery(boolean enable) throws ShellyApiException;
+    String setWiFiRecovery(boolean enable) throws ShellyApiException;
 
-    public boolean setWiFiRangeExtender(boolean enable) throws ShellyApiException;
+    boolean setWiFiRangeExtender(boolean enable) throws ShellyApiException;
 
-    public boolean setEthernet(boolean enable) throws ShellyApiException;
+    boolean setEthernet(boolean enable) throws ShellyApiException;
 
-    public boolean setBluetooth(boolean enable) throws ShellyApiException;
+    boolean setBluetooth(boolean enable) throws ShellyApiException;
 
-    public String deviceReboot() throws ShellyApiException;
+    String deviceReboot() throws ShellyApiException;
 
-    public String setDebug(boolean enabled) throws ShellyApiException;
+    String setDebug(boolean enabled) throws ShellyApiException;
 
-    public String getDebugLog(String id) throws ShellyApiException;
+    String getDebugLog(String id) throws ShellyApiException;
 
-    public String setCloud(boolean enabled) throws ShellyApiException;
+    String setCloud(boolean enabled) throws ShellyApiException;
 
-    public String setApRoaming(boolean enable) throws ShellyApiException;
+    String setApRoaming(boolean enable) throws ShellyApiException;
 
-    public String factoryReset() throws ShellyApiException;
+    String factoryReset() throws ShellyApiException;
 
-    public String resetStaCache() throws ShellyApiException;
+    String resetStaCache() throws ShellyApiException;
 
-    public int getTimeoutsRecovered();
+    int getTimeoutsRecovered();
 
-    public int getTimeoutErrors();
+    int getTimeoutErrors();
 
-    public String getCoIoTDescription() throws ShellyApiException;
+    String getCoIoTDescription() throws ShellyApiException;
 
-    public ShellySettingsLogin setCoIoTPeer(String peer) throws ShellyApiException;
+    ShellySettingsLogin setCoIoTPeer(String peer) throws ShellyApiException;
 
-    public void setActionURLs() throws ShellyApiException;
+    void setActionURLs() throws ShellyApiException;
 
-    public void sendIRKey(String keyCode) throws ShellyApiException, IllegalArgumentException;
+    void sendIRKey(String keyCode) throws ShellyApiException, IllegalArgumentException;
 
-    public void close();
+    void close();
 }
index e3bdab3e380513ecadff335b449b78cac27c0c88..b8a2e5c441d480b93ebec9a8ce4a6ef1434228b8 100644 (file)
@@ -30,14 +30,14 @@ import org.openhab.core.types.State;
  */
 @NonNullByDefault
 public interface Shelly1CoIoTInterface {
-    public int getVersion();
+    int getVersion();
 
-    public CoIotDescrSen fixDescription(@Nullable CoIotDescrSen sen, Map<String, CoIotDescrBlk> blkMap);
+    CoIotDescrSen fixDescription(@Nullable CoIotDescrSen sen, Map<String, CoIotDescrBlk> blkMap);
 
-    public void completeMissingSensorDefinition(Map<String, CoIotDescrSen> sensorMap);
+    void completeMissingSensorDefinition(Map<String, CoIotDescrSen> sensorMap);
 
-    public boolean handleStatusUpdate(List<CoIotSensor> sensorUpdates, CoIotDescrSen sen, int serial, CoIotSensor s,
+    boolean handleStatusUpdate(List<CoIotSensor> sensorUpdates, CoIotDescrSen sen, int serial, CoIotSensor s,
             Map<String, State> updates, ShellyColorUtils col);
 
-    public String getLastWakeup();
+    String getLastWakeup();
 }
index 49baceac373cc2e4fc60e25245f0d3cc8c3ef15b..eebaf02f65e3e54a169418414681542a828d67fe 100644 (file)
@@ -23,5 +23,5 @@ import org.eclipse.jdt.annotation.Nullable;
  */
 @NonNullByDefault
 public interface Shelly1CoapListener {
-    public void processResponse(@Nullable Response response);
+    void processResponse(@Nullable Response response);
 }
index 82ffdee92cb2f081cd84d143c23712ce8a08728c..4387db1413cd623a00d787f8127aca619699dcd9 100644 (file)
@@ -24,15 +24,15 @@ import org.openhab.binding.shelly.internal.api2.Shelly2ApiJsonDTO.Shelly2RpcNoti
 @NonNullByDefault
 public interface Shelly2RpctInterface {
 
-    public void onConnect(String deviceIp, boolean connected);
+    void onConnect(String deviceIp, boolean connected);
 
-    public void onMessage(String decodedmessage);
+    void onMessage(String decodedmessage);
 
-    public void onNotifyStatus(Shelly2RpcNotifyStatus message);
+    void onNotifyStatus(Shelly2RpcNotifyStatus message);
 
-    public void onNotifyEvent(Shelly2RpcNotifyEvent message);
+    void onNotifyEvent(Shelly2RpcNotifyEvent message);
 
-    public void onClose(int statusCode, String reason);
+    void onClose(int statusCode, String reason);
 
-    public void onError(Throwable cause);
+    void onError(Throwable cause);
 }
index 187c1875924c4a6c0bec76e91c49a6c431aeba87..98cbf7ea6d1f526228a43147a0d3409524fb3518 100644 (file)
@@ -28,6 +28,6 @@ public interface ShellyDeviceListener {
     /**
      * This method is called when new device information is received.
      */
-    public boolean onEvent(String ipAddress, String deviceName, String deviceIndex, String eventType,
+    boolean onEvent(String ipAddress, String deviceName, String deviceIndex, String eventType,
             Map<String, String> parameters);
 }
index fbe28c453d547e0a1178c8e0786d15208d677cd8..a4600ef0952f4ded96d3301729fffbf1fab0ab67 100644 (file)
@@ -28,29 +28,29 @@ import org.openhab.core.types.State;
 @NonNullByDefault
 public interface ShellyManagerInterface {
 
-    public Thing getThing();
+    Thing getThing();
 
-    public String getThingName();
+    String getThingName();
 
-    public ShellyDeviceProfile getProfile();
+    ShellyDeviceProfile getProfile();
 
-    public ShellyDeviceProfile getProfile(boolean forceRefresh) throws ShellyApiException;
+    ShellyDeviceProfile getProfile(boolean forceRefresh) throws ShellyApiException;
 
-    public ShellyApiInterface getApi();
+    ShellyApiInterface getApi();
 
-    public ShellyDeviceStats getStats();
+    ShellyDeviceStats getStats();
 
-    public void resetStats();
+    void resetStats();
 
-    public State getChannelValue(String group, String channel);
+    State getChannelValue(String group, String channel);
 
-    public void setThingOnline();
+    void setThingOnline();
 
-    public void setThingOffline(ThingStatusDetail detail, String messageKey, Object... arguments);
+    void setThingOffline(ThingStatusDetail detail, String messageKey, Object... arguments);
 
-    public boolean requestUpdates(int requestCount, boolean refreshSettings);
+    boolean requestUpdates(int requestCount, boolean refreshSettings);
 
-    public void incProtMessages();
+    void incProtMessages();
 
-    public void incProtErrors();
+    void incProtErrors();
 }
index b6359bfa6dc26d06a9d9bdf4c8a07d416ed5b05f..92fc5b788e843a698dca49ec148105bd6f5c60a8 100644 (file)
@@ -39,81 +39,82 @@ import org.openhab.core.types.StateOption;
 @NonNullByDefault
 public interface ShellyThingInterface {
 
-    public ShellyDeviceProfile getProfile(boolean forceRefresh) throws ShellyApiException;
+    ShellyDeviceProfile getProfile(boolean forceRefresh) throws ShellyApiException;
 
-    public @Nullable List<StateOption> getStateOptions(ChannelTypeUID uid);
+    @Nullable
+    List<StateOption> getStateOptions(ChannelTypeUID uid);
 
-    public double getChannelDouble(String group, String channel);
+    double getChannelDouble(String group, String channel);
 
-    public boolean updateChannel(String group, String channel, State value);
+    boolean updateChannel(String group, String channel, State value);
 
-    public boolean updateChannel(String channelId, State value, boolean force);
+    boolean updateChannel(String channelId, State value, boolean force);
 
-    public void setThingOnline();
+    void setThingOnline();
 
-    public void setThingOffline(ThingStatusDetail detail, String messageKey, Object... arguments);
+    void setThingOffline(ThingStatusDetail detail, String messageKey, Object... arguments);
 
-    public String getThingType();
+    String getThingType();
 
-    public ThingStatus getThingStatus();
+    ThingStatus getThingStatus();
 
-    public ThingStatusDetail getThingStatusDetail();
+    ThingStatusDetail getThingStatusDetail();
 
-    public boolean isThingOnline();
+    boolean isThingOnline();
 
-    public boolean requestUpdates(int requestCount, boolean refreshSettings);
+    boolean requestUpdates(int requestCount, boolean refreshSettings);
 
-    public void triggerUpdateFromCoap();
+    void triggerUpdateFromCoap();
 
-    public void reinitializeThing();
+    void reinitializeThing();
 
-    public void restartWatchdog();
+    void restartWatchdog();
 
-    public void publishState(String channelId, State value);
+    void publishState(String channelId, State value);
 
-    public boolean areChannelsCreated();
+    boolean areChannelsCreated();
 
-    public State getChannelValue(String group, String channel);
+    State getChannelValue(String group, String channel);
 
-    public boolean updateInputs(ShellySettingsStatus status);
+    boolean updateInputs(ShellySettingsStatus status);
 
-    public void updateChannelDefinitions(Map<String, Channel> dynChannels);
+    void updateChannelDefinitions(Map<String, Channel> dynChannels);
 
-    public void postEvent(String event, boolean force);
+    void postEvent(String event, boolean force);
 
-    public void triggerChannel(String group, String channelID, String event);
+    void triggerChannel(String group, String channelID, String event);
 
-    public void triggerButton(String group, int idx, String value);
+    void triggerButton(String group, int idx, String value);
 
-    public ShellyDeviceStats getStats();
+    ShellyDeviceStats getStats();
 
-    public void resetStats();
+    void resetStats();
 
-    public Thing getThing();
+    Thing getThing();
 
-    public String getThingName();
+    String getThingName();
 
-    public ShellyThingConfiguration getThingConfig();
+    ShellyThingConfiguration getThingConfig();
 
-    public HttpClient getHttpClient();
+    HttpClient getHttpClient();
 
-    public String getProperty(String key);
+    String getProperty(String key);
 
-    public void updateProperties(String key, String value);
+    void updateProperties(String key, String value);
 
-    public boolean updateWakeupReason(@Nullable List<Object> valueArray);
+    boolean updateWakeupReason(@Nullable List<Object> valueArray);
 
-    public ShellyApiInterface getApi();
+    ShellyApiInterface getApi();
 
-    public ShellyDeviceProfile getProfile();
+    ShellyDeviceProfile getProfile();
 
-    public long getScheduledUpdates();
+    long getScheduledUpdates();
 
-    public void fillDeviceStatus(ShellySettingsStatus status, boolean updated);
+    void fillDeviceStatus(ShellySettingsStatus status, boolean updated);
 
-    public boolean checkRepresentation(String key);
+    boolean checkRepresentation(String key);
 
-    public void incProtMessages();
+    void incProtMessages();
 
-    public void incProtErrors();
+    void incProtErrors();
 }
index a599b1a7b813a9b8afa315f155a462385a63ea91..41457f8c826a661261b16e2bdef2c4028a047318 100644 (file)
@@ -22,6 +22,6 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  */
 @NonNullByDefault
 public interface SleepIQConfigStatusMessage {
-    public static final String USERNAME_MISSING = "missing-username-configuration";
-    public static final String PASSWORD_MISSING = "missing-password-configuration";
+    static final String USERNAME_MISSING = "missing-username-configuration";
+    static final String PASSWORD_MISSING = "missing-password-configuration";
 }
index 8778e685b6091f977133c7b3c80433f18d051596..1ebe9c44d98e052bb0b64be35da4da8660098034 100644 (file)
@@ -56,7 +56,8 @@ public interface SleepIQ {
      *             if the login request fails for any reason other than bad
      *             credentials (including missing credentials)
      */
-    public @Nullable LoginInfo login() throws LoginException, UnauthorizedException;
+    @Nullable
+    LoginInfo login() throws LoginException, UnauthorizedException;
 
     /**
      * Get a list of beds connected to the account.
@@ -67,7 +68,7 @@ public interface SleepIQ {
      *             credentials (including missing credentials)
      * @throws SleepIQException
      */
-    public List<Bed> getBeds() throws LoginException, SleepIQException, BedNotFoundException;
+    List<Bed> getBeds() throws LoginException, SleepIQException, BedNotFoundException;
 
     /**
      * Get a list of sleepers registered to this account for beds or bed positions
@@ -77,7 +78,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public List<Sleeper> getSleepers() throws LoginException, SleepIQException;
+    List<Sleeper> getSleepers() throws LoginException, SleepIQException;
 
     /**
      * Get the status of all beds and all air chambers registered to this
@@ -87,7 +88,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public FamilyStatusResponse getFamilyStatus() throws LoginException, SleepIQException;
+    FamilyStatusResponse getFamilyStatus() throws LoginException, SleepIQException;
 
     /**
      * Get the Sleep Data for a sleeper registered to this account.
@@ -100,7 +101,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public SleepDataResponse getSleepData(String sleeperId, SleepDataInterval interval)
+    SleepDataResponse getSleepData(String sleeperId, SleepDataInterval interval)
             throws BedNotFoundException, LoginException, SleepIQException;
 
     /**
@@ -117,7 +118,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public PauseModeResponse getPauseMode(String bedId) throws BedNotFoundException, LoginException, SleepIQException;
+    PauseModeResponse getPauseMode(String bedId) throws BedNotFoundException, LoginException, SleepIQException;
 
     /**
      * Set the sleep number for a chamber of a bed
@@ -129,7 +130,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public void setSleepNumber(String bedId, Side side, int sleepNumber) throws LoginException, SleepIQException;
+    void setSleepNumber(String bedId, Side side, int sleepNumber) throws LoginException, SleepIQException;
 
     /**
      * Set the pause (privacy) mode for a bed
@@ -139,7 +140,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public void setPauseMode(String bedId, boolean command) throws LoginException, SleepIQException;
+    void setPauseMode(String bedId, boolean command) throws LoginException, SleepIQException;
 
     /**
      * Get the foundation features for a bed
@@ -149,7 +150,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public FoundationFeaturesResponse getFoundationFeatures(String bedId) throws LoginException, SleepIQException;
+    FoundationFeaturesResponse getFoundationFeatures(String bedId) throws LoginException, SleepIQException;
 
     /**
      * Get the foundation status for a bed
@@ -159,7 +160,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public FoundationStatusResponse getFoundationStatus(String bedId) throws LoginException, SleepIQException;
+    FoundationStatusResponse getFoundationStatus(String bedId) throws LoginException, SleepIQException;
 
     /**
      * Set a foundation preset for the side of a bed
@@ -172,7 +173,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public void setFoundationPreset(String bedId, Side side, FoundationPreset preset, FoundationActuatorSpeed speed)
+    void setFoundationPreset(String bedId, Side side, FoundationPreset preset, FoundationActuatorSpeed speed)
             throws LoginException, SleepIQException;
 
     /**
@@ -187,7 +188,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public void setFoundationPosition(String bedId, Side side, FoundationActuator actuator, int position,
+    void setFoundationPosition(String bedId, Side side, FoundationActuator actuator, int position,
             FoundationActuatorSpeed speed) throws LoginException, SleepIQException;
 
     /**
@@ -200,7 +201,7 @@ public interface SleepIQ {
      * @throws LoginException
      * @throws SleepIQException
      */
-    public void setFoundationOutlet(String bedId, FoundationOutlet outlet, FoundationOutletOperation operation)
+    void setFoundationOutlet(String bedId, FoundationOutlet outlet, FoundationOutletOperation operation)
             throws LoginException, SleepIQException;
 
     /**
@@ -211,12 +212,12 @@ public interface SleepIQ {
      * @param httpClient handle to the Jetty http client
      * @return a concrete implementation of this interface
      */
-    public static SleepIQ create(Configuration config, HttpClient httpClient) {
+    static SleepIQ create(Configuration config, HttpClient httpClient) {
         return new SleepIQImpl(config, httpClient);
     }
 
     /**
      * Close down the cloud service
      */
-    public void shutdown();
+    void shutdown();
 }
index b4977d597c2aaf8cb63c123e8fed64f892f945f6..4147991f9ec3638fde7fb5cde1d17e6cdd4b8fe3 100644 (file)
@@ -30,21 +30,21 @@ public interface BedStatusListener {
      *
      * @param status the bed status returned from the cloud service
      */
-    public void onBedStateChanged(BedStatus status);
+    void onBedStateChanged(BedStatus status);
 
     /**
      * This method will be called whenever a new foundation status is received by the cloud handler.
      *
      * @param status the foundation status returned from the cloud service
      */
-    public void onFoundationStateChanged(String bedId, FoundationStatusResponse status);
+    void onFoundationStateChanged(String bedId, FoundationStatusResponse status);
 
     /**
      * Determine if bed has a foundation installed.
      *
      * @return true if bed has a foundation; otherwise falase
      */
-    public boolean isFoundationInstalled();
+    boolean isFoundationInstalled();
 
-    public void onSleeperChanged(@Nullable Sleeper sleeper);
+    void onSleeperChanged(@Nullable Sleeper sleeper);
 }
index 0ebc209f6e4b5d6729d4b8509d042b87da22de21..32fec443d7323e3b6d0fa51bddd0ed1b210cdcc7 100644 (file)
@@ -30,19 +30,19 @@ public interface MeterValueListener {
      *
      * @param e The Exception that was thrown.
      */
-    public void errorOccurred(Throwable e);
+    void errorOccurred(Throwable e);
 
     /**
      * Called whenever some value was added or changed for a meter device.
      *
      * @param value The changed value.
      */
-    public <Q extends Quantity<Q>> void valueChanged(MeterValue<Q> value);
+    <Q extends Quantity<Q>> void valueChanged(MeterValue<Q> value);
 
     /**
      * Called whenever some value was removed from the meter device (not available anymore).
      *
      * @param value The removed value.
      */
-    public <Q extends Quantity<Q>> void valueRemoved(MeterValue<Q> value);
+    <Q extends Quantity<Q>> void valueRemoved(MeterValue<Q> value);
 }
index 166bc182299b80fa2948549d558cb502ffe54cf7..62baec5867e4f481d2b50b460467d29a1a3832dc 100644 (file)
@@ -36,8 +36,8 @@ public interface SmartthingsHubCommand {
      * @throws TimeoutException
      * @throws ExecutionException
      */
-    public void sendDeviceCommand(@NonNull String path, int timeout, @NonNull String data)
+    void sendDeviceCommand(@NonNull String path, int timeout, @NonNull String data)
             throws InterruptedException, TimeoutException, ExecutionException;
 
-    public ThingUID getBridgeUID();
+    ThingUID getBridgeUID();
 }
index 88ffd4ec0be2d40f57681f5230092b5c217a90b4..c36756bf5ee478bf72699f3e880da967646f4f10 100644 (file)
@@ -24,11 +24,11 @@ public interface IDeviceInformationListener {
 
     void setMode(String mode);
 
-    public void setTotalSent(String totalSent);
+    void setTotalSent(String totalSent);
 
-    public void setTotalFailed(String totalFailed);
+    void setTotalFailed(String totalFailed);
 
-    public void setTotalReceived(String totalReceived);
+    void setTotalReceived(String totalReceived);
 
-    public void setTotalFailures(String totalFailure);
+    void setTotalFailures(String totalFailure);
 }
index 4004e80d7a78307ba8e8b107b139a73a21872ed2..2de0ab54b9c6357703945d9b98810b512979abed 100644 (file)
@@ -19,7 +19,7 @@ public interface IInboundOutboundMessageListener {
      *
      * @param message The inbound message received
      */
-    public void messageReceived(InboundMessage message);
+    void messageReceived(InboundMessage message);
 
     /**
      * Implement this method to get warned when
@@ -27,7 +27,7 @@ public interface IInboundOutboundMessageListener {
      *
      * @param message the message sent
      */
-    public void messageSent(OutboundMessage message);
+    void messageSent(OutboundMessage message);
 
     /**
      * Implement this method to get warned when
@@ -35,5 +35,5 @@ public interface IInboundOutboundMessageListener {
      *
      * @param message the delivery report message
      */
-    public void messageDelivered(DeliveryReportMessage message);
+    void messageDelivered(DeliveryReportMessage message);
 }
index e351ce8b787d6a487d734eb94d3608fc64d2fd58..fbe53cd253334d85d6a449d901ad5aa0251f8ebf 100644 (file)
@@ -38,89 +38,93 @@ public interface SysteminfoInterface {
     /**
      * Initialize logic for the Systeminfo implementation
      */
-    public void initializeSysteminfo();
+    void initializeSysteminfo();
 
     // Operating system info
     /**
      * Get the Family of the operating system /e.g. Windows,Unix,.../
      */
-    public StringType getOsFamily();
+    StringType getOsFamily();
 
     /**
      * Get the manufacturer of the operating system
      */
-    public StringType getOsManufacturer();
+    StringType getOsManufacturer();
 
     /**
      * Get the version of the operating system
      *
      * @return
      */
-    public StringType getOsVersion();
+    StringType getOsVersion();
 
     // CPU info
     /**
      * Get the name of the CPU
      */
-    public StringType getCpuName();
+    StringType getCpuName();
 
     /**
      * Get description about the CPU e.g (model, family, vendor, serial number, identifier, architecture(32bit or
      * 64bit))
      */
-    public StringType getCpuDescription();
+    StringType getCpuDescription();
 
     /**
      * Get the number of logical CPUs/cores available for processing.
      */
-    public DecimalType getCpuLogicalCores();
+    DecimalType getCpuLogicalCores();
 
     /**
      * Get the number of physical CPUs/cores available for processing.
      */
-    public DecimalType getCpuPhysicalCores();
+    DecimalType getCpuPhysicalCores();
 
     /**
      * Returns the system cpu load.
      *
      * @return the system cpu load between 0 and 100% or null, if no information is available
      */
-    public @Nullable PercentType getSystemCpuLoad();
+    @Nullable
+    PercentType getSystemCpuLoad();
 
     /**
      * Returns the system load average for the last minute.
      *
      * @return the load as a number of processes or null, if no information is available
      */
-    public @Nullable DecimalType getCpuLoad1();
+    @Nullable
+    DecimalType getCpuLoad1();
 
     /**
      * Returns the system load average for the last 5 minutes.
      *
      * @return the load as number of processes or null, if no information is available
      */
-    public @Nullable DecimalType getCpuLoad5();
+    @Nullable
+    DecimalType getCpuLoad5();
 
     /**
      * Returns the system load average for the last 15 minutes.
      *
      * @return the load as number of processes or null, if no information is available
      */
-    public @Nullable DecimalType getCpuLoad15();
+    @Nullable
+    DecimalType getCpuLoad15();
 
     /**
      * Get the System uptime (time since boot).
      *
      * @return time since boot
      */
-    public QuantityType<Time> getCpuUptime();
+    QuantityType<Time> getCpuUptime();
 
     /**
      * Get the number of threads currently running
      *
      * @return number of threads
      */
-    public DecimalType getCpuThreads();
+    DecimalType getCpuThreads();
 
     // Memory info
     /**
@@ -128,35 +132,37 @@ public interface SysteminfoInterface {
      *
      * @return memory size
      */
-    public QuantityType<DataAmount> getMemoryTotal();
+    QuantityType<DataAmount> getMemoryTotal();
 
     /**
      * Returns available size of memory
      *
      * @return memory size
      */
-    public QuantityType<DataAmount> getMemoryAvailable();
+    QuantityType<DataAmount> getMemoryAvailable();
 
     /**
      * Returns used size of memory
      *
      * @return memory size
      */
-    public QuantityType<DataAmount> getMemoryUsed();
+    QuantityType<DataAmount> getMemoryUsed();
 
     /**
      * Percents of available memory on the machine
      *
      * @return percent of available memory or null, if no information is available
      */
-    public @Nullable PercentType getMemoryAvailablePercent();
+    @Nullable
+    PercentType getMemoryAvailablePercent();
 
     /**
      * Percents of used memory on the machine
      *
      * @return percent of used memory or null, if no information is available
      */
-    public @Nullable PercentType getMemoryUsedPercent();
+    @Nullable
+    PercentType getMemoryUsedPercent();
 
     // Swap memory info
     /**
@@ -164,35 +170,37 @@ public interface SysteminfoInterface {
      *
      * @return memory size or 0, if there is no swap memory
      */
-    public QuantityType<DataAmount> getSwapTotal();
+    QuantityType<DataAmount> getSwapTotal();
 
     /**
      * Returns available size swap of memory
      *
      * @return memory size or 0, if no there is no swap memory
      */
-    public QuantityType<DataAmount> getSwapAvailable();
+    QuantityType<DataAmount> getSwapAvailable();
 
     /**
      * Returns used size of swap memory
      *
      * @return memory size or 0, if no there is no swap memory
      */
-    public QuantityType<DataAmount> getSwapUsed();
+    QuantityType<DataAmount> getSwapUsed();
 
     /**
      * Percents of available swap memory on the machine
      *
      * @return percent of available memory or null, if no there is no swap memory
      */
-    public @Nullable PercentType getSwapAvailablePercent();
+    @Nullable
+    PercentType getSwapAvailablePercent();
 
     /**
      * Percents of used swap memory on the machine
      *
      * @return percent of used memory or null, if no there is no swap memory
      */
-    public @Nullable PercentType getSwapUsedPercent();
+    @Nullable
+    PercentType getSwapUsedPercent();
 
     // Storage info
     /**
@@ -202,7 +210,7 @@ public interface SysteminfoInterface {
      * @return storage size
      * @throws DeviceNotFoundException
      */
-    public QuantityType<DataAmount> getStorageTotal(int deviceIndex) throws DeviceNotFoundException;
+    QuantityType<DataAmount> getStorageTotal(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Returns the available storage space on the logical storage volume
@@ -211,7 +219,7 @@ public interface SysteminfoInterface {
      * @return storage size
      * @throws DeviceNotFoundException
      */
-    public QuantityType<DataAmount> getStorageAvailable(int deviceIndex) throws DeviceNotFoundException;
+    QuantityType<DataAmount> getStorageAvailable(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the used storage space on the logical storage volume
@@ -220,7 +228,7 @@ public interface SysteminfoInterface {
      * @return storage size
      * @throws DeviceNotFoundException
      */
-    public QuantityType<DataAmount> getStorageUsed(int deviceIndex) throws DeviceNotFoundException;
+    QuantityType<DataAmount> getStorageUsed(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the percent of available storage on the logical volume
@@ -229,7 +237,8 @@ public interface SysteminfoInterface {
      * @return percent of available storage or null
      * @throws DeviceNotFoundException
      */
-    public @Nullable PercentType getStorageAvailablePercent(int deviceIndex) throws DeviceNotFoundException;
+    @Nullable
+    PercentType getStorageAvailablePercent(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the percent of used storage on the logical volume
@@ -238,28 +247,29 @@ public interface SysteminfoInterface {
      * @return percent of used storage or null
      * @throws DeviceNotFoundException
      */
-    public @Nullable PercentType getStorageUsedPercent(int deviceIndex) throws DeviceNotFoundException;
+    @Nullable
+    PercentType getStorageUsedPercent(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the name of the logical storage volume
      *
      * @throws DeviceNotFoundException
      */
-    public StringType getStorageName(int deviceIndex) throws DeviceNotFoundException;
+    StringType getStorageName(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the type of the logical storage volume (e.g. NTFS, FAT32)
      *
      * @throws DeviceNotFoundException
      */
-    public StringType getStorageType(int deviceIndex) throws DeviceNotFoundException;
+    StringType getStorageType(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the description of the logical storage volume
      *
      * @throws DeviceNotFoundException
      */
-    public StringType getStorageDescription(int deviceIndex) throws DeviceNotFoundException;
+    StringType getStorageDescription(int deviceIndex) throws DeviceNotFoundException;
 
     // Hardware drive info
     /**
@@ -268,7 +278,7 @@ public interface SysteminfoInterface {
      * @param deviceIndex - index of the storage drive
      * @throws DeviceNotFoundException
      */
-    public StringType getDriveName(int deviceIndex) throws DeviceNotFoundException;
+    StringType getDriveName(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the model of the physical storage drive
@@ -276,7 +286,7 @@ public interface SysteminfoInterface {
      * @param deviceIndex - index of the storage drive
      * @throws DeviceNotFoundException
      */
-    public StringType getDriveModel(int deviceIndex) throws DeviceNotFoundException;
+    StringType getDriveModel(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the serial number of the physical storage drive
@@ -284,7 +294,7 @@ public interface SysteminfoInterface {
      * @param deviceIndex - index of the storage drive
      * @throws DeviceNotFoundException
      */
-    public StringType getDriveSerialNumber(int deviceIndex) throws DeviceNotFoundException;
+    StringType getDriveSerialNumber(int deviceIndex) throws DeviceNotFoundException;
 
     // Network info
     /**
@@ -294,7 +304,7 @@ public interface SysteminfoInterface {
      * @return 32-bit IPv4 address
      * @throws DeviceNotFoundException
      */
-    public StringType getNetworkIp(int networkIndex) throws DeviceNotFoundException;
+    StringType getNetworkIp(int networkIndex) throws DeviceNotFoundException;
 
     /**
      * Get the name of this network.
@@ -302,7 +312,7 @@ public interface SysteminfoInterface {
      * @param networkIndex - the index of the network
      * @throws DeviceNotFoundException
      */
-    public StringType getNetworkName(int networkIndex) throws DeviceNotFoundException;
+    StringType getNetworkName(int networkIndex) throws DeviceNotFoundException;
 
     /**
      * The description of the network. On some platforms, this is identical to the name.
@@ -310,7 +320,7 @@ public interface SysteminfoInterface {
      * @param networkIndex - the index of the network
      * @throws DeviceNotFoundException
      */
-    public StringType getNetworkDisplayName(int networkIndex) throws DeviceNotFoundException;
+    StringType getNetworkDisplayName(int networkIndex) throws DeviceNotFoundException;
 
     /**
      * Gets the MAC Address of the network.
@@ -318,7 +328,7 @@ public interface SysteminfoInterface {
      * @param networkIndex - the index of the network
      * @throws DeviceNotFoundException
      */
-    public StringType getNetworkMac(int networkIndex) throws DeviceNotFoundException;
+    StringType getNetworkMac(int networkIndex) throws DeviceNotFoundException;
 
     /**
      * Get number of packets received
@@ -326,7 +336,7 @@ public interface SysteminfoInterface {
      * @param networkIndex - the index of the network
      * @throws DeviceNotFoundException
      */
-    public DecimalType getNetworkPacketsReceived(int networkIndex) throws DeviceNotFoundException;
+    DecimalType getNetworkPacketsReceived(int networkIndex) throws DeviceNotFoundException;
 
     /**
      * Get number of packets sent
@@ -334,7 +344,7 @@ public interface SysteminfoInterface {
      * @param networkIndex - the index of the network
      * @throws DeviceNotFoundException
      */
-    public DecimalType getNetworkPacketsSent(int networkIndex) throws DeviceNotFoundException;
+    DecimalType getNetworkPacketsSent(int networkIndex) throws DeviceNotFoundException;
 
     /**
      * Get data sent for this network
@@ -342,7 +352,7 @@ public interface SysteminfoInterface {
      * @param networkIndex - the index of the network
      * @throws DeviceNotFoundException
      */
-    public QuantityType<DataAmount> getNetworkDataSent(int networkIndex) throws DeviceNotFoundException;
+    QuantityType<DataAmount> getNetworkDataSent(int networkIndex) throws DeviceNotFoundException;
 
     /**
      * Get data received for this network
@@ -350,7 +360,7 @@ public interface SysteminfoInterface {
      * @param networkIndex - the index of the network
      * @throws DeviceNotFoundException
      */
-    public QuantityType<DataAmount> getNetworkDataReceived(int networkIndex) throws DeviceNotFoundException;
+    QuantityType<DataAmount> getNetworkDataReceived(int networkIndex) throws DeviceNotFoundException;
 
     // Display info
     /**
@@ -359,7 +369,7 @@ public interface SysteminfoInterface {
      * @param deviceIndex - the index of the display device
      * @throws DeviceNotFoundException
      */
-    public StringType getDisplayInformation(int deviceIndex) throws DeviceNotFoundException;
+    StringType getDisplayInformation(int deviceIndex) throws DeviceNotFoundException;
 
     // Sensors info
     /**
@@ -367,14 +377,16 @@ public interface SysteminfoInterface {
      *
      * @return Temperature if available, null otherwise.
      */
-    public @Nullable QuantityType<Temperature> getSensorsCpuTemperature();
+    @Nullable
+    QuantityType<Temperature> getSensorsCpuTemperature();
 
     /**
      * Get the information for the CPU voltage.
      *
      * @return Voltage if available, null otherwise.
      */
-    public @Nullable QuantityType<ElectricPotential> getSensorsCpuVoltage();
+    @Nullable
+    QuantityType<ElectricPotential> getSensorsCpuVoltage();
 
     /**
      * Get fan speed
@@ -383,7 +395,8 @@ public interface SysteminfoInterface {
      * @return Speed in rpm or null if unable to measure fan speed
      * @throws DeviceNotFoundException
      */
-    public @Nullable DecimalType getSensorsFanSpeed(int deviceIndex) throws DeviceNotFoundException;
+    @Nullable
+    DecimalType getSensorsFanSpeed(int deviceIndex) throws DeviceNotFoundException;
 
     // Battery info
     /**
@@ -393,7 +406,8 @@ public interface SysteminfoInterface {
      * @return duration remaining charge or null, if the time is estimated as unlimited
      * @throws DeviceNotFoundException
      */
-    public @Nullable QuantityType<Time> getBatteryRemainingTime(int deviceIndex) throws DeviceNotFoundException;
+    @Nullable
+    QuantityType<Time> getBatteryRemainingTime(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Battery remaining capacity.
@@ -402,7 +416,7 @@ public interface SysteminfoInterface {
      * @return percentage value
      * @throws DeviceNotFoundException
      */
-    public PercentType getBatteryRemainingCapacity(int deviceIndex) throws DeviceNotFoundException;
+    PercentType getBatteryRemainingCapacity(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Get battery name
@@ -410,7 +424,7 @@ public interface SysteminfoInterface {
      * @param deviceIndex
      * @throws DeviceNotFoundException
      */
-    public StringType getBatteryName(int deviceIndex) throws DeviceNotFoundException;
+    StringType getBatteryName(int deviceIndex) throws DeviceNotFoundException;
 
     /**
      * Get PID of process executing this code
@@ -425,7 +439,8 @@ public interface SysteminfoInterface {
      * @param pid - the PID of the process
      * @throws DeviceNotFoundException - thrown if process with this PID can not be found
      */
-    public @Nullable StringType getProcessName(int pid) throws DeviceNotFoundException;
+    @Nullable
+    StringType getProcessName(int pid) throws DeviceNotFoundException;
 
     /**
      * Returns the CPU usage of the process
@@ -434,7 +449,8 @@ public interface SysteminfoInterface {
      * @return - percentage value, can be above 100% if process uses multiple cores
      * @throws DeviceNotFoundException - thrown if process with this PID can not be found
      */
-    public @Nullable DecimalType getProcessCpuUsage(int pid) throws DeviceNotFoundException;
+    @Nullable
+    DecimalType getProcessCpuUsage(int pid) throws DeviceNotFoundException;
 
     /**
      * Returns the size of RAM memory only usage of the process
@@ -443,7 +459,8 @@ public interface SysteminfoInterface {
      * @return memory size
      * @throws DeviceNotFoundException- thrown if process with this PID can not be found
      */
-    public @Nullable QuantityType<DataAmount> getProcessMemoryUsage(int pid) throws DeviceNotFoundException;
+    @Nullable
+    QuantityType<DataAmount> getProcessMemoryUsage(int pid) throws DeviceNotFoundException;
 
     /**
      * Returns the full path of the executing process.
@@ -451,7 +468,8 @@ public interface SysteminfoInterface {
      * @param pid - the PID of the process
      * @throws DeviceNotFoundException - thrown if process with this PID can not be found
      */
-    public @Nullable StringType getProcessPath(int pid) throws DeviceNotFoundException;
+    @Nullable
+    StringType getProcessPath(int pid) throws DeviceNotFoundException;
 
     /**
      * Returns the number of threads in this process.
@@ -459,42 +477,43 @@ public interface SysteminfoInterface {
      * @param pid - the PID of the process
      * @throws DeviceNotFoundException - thrown if process with this PID can not be found
      */
-    public @Nullable DecimalType getProcessThreads(int pid) throws DeviceNotFoundException;
+    @Nullable
+    DecimalType getProcessThreads(int pid) throws DeviceNotFoundException;
 
     /**
      * Returns the number of network interfaces.
      *
      * @return network interface count
      */
-    public int getNetworkIFCount();
+    int getNetworkIFCount();
 
     /**
      * Returns the number of displays.
      *
      * @return display count
      */
-    public int getDisplayCount();
+    int getDisplayCount();
 
     /**
      * Returns the number of storages.
      *
      * @return storage count
      */
-    public int getFileOSStoreCount();
+    int getFileOSStoreCount();
 
     /**
      * Returns the number of power sources/batteries.
      *
      * @return power source count
      */
-    public int getPowerSourceCount();
+    int getPowerSourceCount();
 
     /**
      * Returns the number of drives.
      *
      * @return drive count
      */
-    public int getDriveCount();
+    int getDriveCount();
 
     /**
      * Returns the number of fans.
index 56d411539b23642f3d58fc0ee9224ef8990e3031..b004c530185fcaf332061e9c9cd2df0d3f8bb0aa 100644 (file)
@@ -33,7 +33,7 @@ public interface DeviceStatusListener {
      * @param device
      *            The device which received the state update.
      */
-    public void onDeviceStateChanged(Bridge bridge, Device device, TellstickEvent deviceEvent);
+    void onDeviceStateChanged(Bridge bridge, Device device, TellstickEvent deviceEvent);
 
     /**
      * This method us called whenever a device is removed.
@@ -43,7 +43,7 @@ public interface DeviceStatusListener {
      * @param device
      *            The device which is removed.
      */
-    public void onDeviceRemoved(Bridge bridge, Device device);
+    void onDeviceRemoved(Bridge bridge, Device device);
 
     /**
      * This method us called whenever a device is added.
@@ -53,5 +53,5 @@ public interface DeviceStatusListener {
      * @param device
      *            The device which is added.
      */
-    public void onDeviceAdded(Bridge bridge, Device device);
+    void onDeviceAdded(Bridge bridge, Device device);
 }
index d9e08d78dad56d675dfe55caa439490089313c88..283fe9ad3b80abff69a73070020fc85a551259d2 100644 (file)
@@ -18,12 +18,12 @@ package org.openhab.binding.tesla.internal.throttler;
  * @author Karel Goderis - Initial contribution
  */
 public interface TimeProvider {
-    public static final TimeProvider SYSTEM_PROVIDER = new TimeProvider() {
+    static final TimeProvider SYSTEM_PROVIDER = new TimeProvider() {
         @Override
         public long getCurrentTimeInMillis() {
             return System.currentTimeMillis();
         }
     };
 
-    public long getCurrentTimeInMillis();
+    long getCurrentTimeInMillis();
 }
index e0e7ce3bbe2b5129193785c97a92946b077eb6b6..c7e6d9893eae861ec28dacb8e4f842989838ccf7 100644 (file)
@@ -31,7 +31,7 @@ public interface CoapCallback {
      *
      * @param data the received json structure
      */
-    public void onUpdate(JsonElement data);
+    void onUpdate(JsonElement data);
 
     /**
      * Tells the listener to set the Thing status.
@@ -40,5 +40,5 @@ public interface CoapCallback {
      * @param status The thing status
      * @param statusDetail the status detail
      */
-    public void setStatus(ThingStatus status, ThingStatusDetail statusDetail);
+    void setStatus(ThingStatus status, ThingStatusDetail statusDetail);
 }
index e5e95294042435d94689e51023f59cb633920b6a..fb33da5cd218ee11df31700cdf23419f9327f95c 100644 (file)
@@ -32,5 +32,5 @@ public interface DeviceUpdateListener {
      * @param instanceId The instance id of the device
      * @param data the json data describing the device
      */
-    public void onUpdate(String instanceId, JsonObject data);
+    void onUpdate(String instanceId, JsonObject data);
 }
index bb86a931c44c13c873ec3f543673c059d66a2673..1608f6fc56f7a46cf9987ca3881300fc2edb1dc0 100644 (file)
@@ -23,5 +23,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface UpnpPlaylistsListener {
 
-    public void playlistsListChanged();
+    void playlistsListChanged();
 }
index cb2a39fa4fd1e00b62366ee1f8a4c384ee86a931..69b714d5d98ca04308c3b19d34d54d2f018a50cc 100644 (file)
@@ -29,7 +29,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public void openConnection() throws SVDRPConnectionException, SVDRPParseResponseException;
+    void openConnection() throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Close VDR Socket Connection
@@ -37,7 +37,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public void closeConnection() throws SVDRPConnectionException, SVDRPParseResponseException;
+    void closeConnection() throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Retrieve Disk Status from SVDRP Client
@@ -46,7 +46,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public SVDRPDiskStatus getDiskStatus() throws SVDRPConnectionException, SVDRPParseResponseException;
+    SVDRPDiskStatus getDiskStatus() throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Retrieve EPG Event from SVDRPClient
@@ -56,8 +56,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public SVDRPEpgEvent getEpgEvent(SVDRPEpgEvent.TYPE type)
-            throws SVDRPConnectionException, SVDRPParseResponseException;
+    SVDRPEpgEvent getEpgEvent(SVDRPEpgEvent.TYPE type) throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Retrieve current volume from SVDRP Client
@@ -66,7 +65,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public SVDRPVolume getSVDRPVolume() throws SVDRPConnectionException, SVDRPParseResponseException;
+    SVDRPVolume getSVDRPVolume() throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Set volume on SVDRP Client
@@ -76,7 +75,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public SVDRPVolume setSVDRPVolume(int newVolume) throws SVDRPConnectionException, SVDRPParseResponseException;
+    SVDRPVolume setSVDRPVolume(int newVolume) throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Send Key command to SVDRP Client
@@ -85,7 +84,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public void sendSVDRPKey(String key) throws SVDRPConnectionException, SVDRPParseResponseException;
+    void sendSVDRPKey(String key) throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Send Message to SVDRP Client
@@ -94,7 +93,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public void sendSVDRPMessage(String message) throws SVDRPConnectionException, SVDRPParseResponseException;
+    void sendSVDRPMessage(String message) throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Retrieve current Channel from SVDRP Client
@@ -103,7 +102,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public SVDRPChannel getCurrentSVDRPChannel() throws SVDRPConnectionException, SVDRPParseResponseException;
+    SVDRPChannel getCurrentSVDRPChannel() throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Change current Channel on SVDRP Client
@@ -113,7 +112,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public SVDRPChannel setSVDRPChannel(int number) throws SVDRPConnectionException, SVDRPParseResponseException;
+    SVDRPChannel setSVDRPChannel(int number) throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Retrieve from SVDRP Client if a recording is currently active
@@ -122,7 +121,7 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public boolean isRecordingActive() throws SVDRPConnectionException, SVDRPParseResponseException;
+    boolean isRecordingActive() throws SVDRPConnectionException, SVDRPParseResponseException;
 
     /**
      * Retrieve VDR Version from SVDRP Client
@@ -131,5 +130,5 @@ public interface SVDRPClient {
      * @throws SVDRPConnectionException thrown if connection to VDR failed or was not possible
      * @throws SVDRPParseResponseException thrown if something's not OK with SVDRP response
      */
-    public String getSVDRPVersion();
+    String getSVDRPVersion();
 }
index c27d8f3769827b7d605b857fd2390722c0f9aa9f..0b6af8ad7dcae8852aa5d5b438783b3baa368c10 100644 (file)
@@ -50,19 +50,19 @@ public interface VeluxBridgeInstance {
      *
      * @return VeluxBridgeConfiguration containing all bridge configuration settings.
      */
-    public VeluxBridgeConfiguration veluxBridgeConfiguration();
+    VeluxBridgeConfiguration veluxBridgeConfiguration();
 
     /**
      * Information retrieved by {@link org.openhab.binding.velux.internal.bridge.VeluxBridgeActuators#getProducts}
      *
      * @return VeluxExistingProducts containing all registered products, or <B>null</B> in case of any error.
      */
-    public VeluxExistingProducts existingProducts();
+    VeluxExistingProducts existingProducts();
 
     /**
      * Information retrieved by {@link org.openhab.binding.velux.internal.bridge.VeluxBridgeScenes#getScenes}
      *
      * @return VeluxExistingScenes containing all registered scenes, or <B>null</B> in case of any error.
      */
-    public VeluxExistingScenes existingScenes();
+    VeluxExistingScenes existingScenes();
 }
index 445f3264d0f7eb2279b421a27eb69a280f8d84a4..ae9496f7b53a8926343ce2639945b0f5ba7a3988 100644 (file)
@@ -46,7 +46,7 @@ public interface VeluxBridgeProvider {
      * @return true if communication was successful, and false otherwise.
      */
 
-    public boolean bridgeCommunicate(BridgeCommunicationProtocol communication);
+    boolean bridgeCommunicate(BridgeCommunicationProtocol communication);
 
     /**
      * Returns the class {@link BridgeAPI} which summarizes all interfacing methods.
@@ -54,5 +54,6 @@ public interface VeluxBridgeProvider {
      * @return <b>BridgeAPI</b>
      *         containing all API methods.
      */
-    public @Nullable BridgeAPI bridgeAPI();
+    @Nullable
+    BridgeAPI bridgeAPI();
 }
index 7067e93086b890bc04f9a0f08800816cb8084bd1..831d6c0d36b640cbf0036f303f89eaa1621cc6ce 100644 (file)
@@ -40,12 +40,12 @@ public interface BridgeCommunicationProtocol {
      *
      * @return name of the communication pair for human beings.
      */
-    public String name();
+    String name();
 
     /**
      * Returns the communication status included within the response message.
      *
      * @return true if the communication was successful, and false otherwise.
      */
-    public boolean isCommunicationSuccessful();
+    boolean isCommunicationSuccessful();
 }
index 20833b44102f07e6c4598265376fba619f7185d1..e210583cb3c57f87a1e1ff23fe1e32bf0196a753 100644 (file)
@@ -37,5 +37,5 @@ public interface DeviceStatusListener<T extends VerisureThingDTO> {
     /**
      * This method returns the thing's class
      */
-    public Class<T> getVerisureThingClass();
+    Class<T> getVerisureThingClass();
 }
index 69199ccde1061168331fe9971c6887f876e9194e..2b4e1e2280d024b325d91d696b5e04ba33a8271a 100644 (file)
@@ -24,5 +24,5 @@ import org.openhab.core.thing.ThingStatus;
 @NonNullByDefault
 public interface ThingStatusListener {
 
-    public void thingStatusChanged(Thing thing, ThingStatus status);
+    void thingStatusChanged(Thing thing, ThingStatus status);
 }
index 8947d76d8cdbd08686387e2a37ac4ab0736e5f32..41b3210830431f40e767c7ab4756061ba1d6f63a 100644 (file)
@@ -27,93 +27,93 @@ import org.openhab.core.types.StateOption;
  */
 @NonNullByDefault
 public interface WledApi {
-    public abstract void update() throws ApiException;
+    void update() throws ApiException;
 
-    public abstract void initialize() throws ApiException;
+    void initialize() throws ApiException;
 
-    public abstract int getFirmwareVersion() throws ApiException;
+    int getFirmwareVersion() throws ApiException;
 
-    public abstract String sendGetRequest(String string) throws ApiException;
+    String sendGetRequest(String string) throws ApiException;
 
     /**
      * Turns on/off ALL segments
      */
-    public abstract void setGlobalOn(boolean bool) throws ApiException;
+    void setGlobalOn(boolean bool) throws ApiException;
 
     /**
      * Turns on/off just THIS segment
      */
-    public abstract void setMasterOn(boolean bool, int segmentIndex) throws ApiException;
+    void setMasterOn(boolean bool, int segmentIndex) throws ApiException;
 
     /**
      * Sets the brightness of ALL segments
      */
-    public abstract void setGlobalBrightness(PercentType percent) throws ApiException;
+    void setGlobalBrightness(PercentType percent) throws ApiException;
 
     /**
      * Sets the brightness of just THIS segment
      */
-    public abstract void setMasterBrightness(PercentType percent, int segmentIndex) throws ApiException;
+    void setMasterBrightness(PercentType percent, int segmentIndex) throws ApiException;
 
     /**
      * Stops any running FX and instantly changes the segment to the desired colour
      */
-    public abstract void setMasterHSB(HSBType hsbType, int segmentIndex) throws ApiException;
+    void setMasterHSB(HSBType hsbType, int segmentIndex) throws ApiException;
 
-    public abstract void setEffect(String string, int segmentIndex) throws ApiException;
+    void setEffect(String string, int segmentIndex) throws ApiException;
 
-    public abstract void setPreset(String string) throws ApiException;
+    void setPreset(String string) throws ApiException;
 
-    public abstract void setPalette(String string, int segmentIndex) throws ApiException;
+    void setPalette(String string, int segmentIndex) throws ApiException;
 
-    public abstract void setFxIntencity(PercentType percentType, int segmentIndex) throws ApiException;
+    void setFxIntencity(PercentType percentType, int segmentIndex) throws ApiException;
 
-    public abstract void setFxSpeed(PercentType percentType, int segmentIndex) throws ApiException;
+    void setFxSpeed(PercentType percentType, int segmentIndex) throws ApiException;
 
-    public abstract void setSleep(boolean bool) throws ApiException;
+    void setSleep(boolean bool) throws ApiException;
 
-    public abstract void setSleepMode(String value) throws ApiException;
+    void setSleepMode(String value) throws ApiException;
 
-    public abstract void setSleepDuration(BigDecimal time) throws ApiException;
+    void setSleepDuration(BigDecimal time) throws ApiException;
 
-    public abstract void setSleepTargetBrightness(PercentType percent) throws ApiException;
+    void setSleepTargetBrightness(PercentType percent) throws ApiException;
 
-    public abstract void setUdpSend(boolean bool) throws ApiException;
+    void setUdpSend(boolean bool) throws ApiException;
 
-    public abstract void setUdpRecieve(boolean bool) throws ApiException;
+    void setUdpRecieve(boolean bool) throws ApiException;
 
-    public abstract void setTransitionTime(BigDecimal time) throws ApiException;
+    void setTransitionTime(BigDecimal time) throws ApiException;
 
-    public abstract void setPresetCycle(boolean bool) throws ApiException;
+    void setPresetCycle(boolean bool) throws ApiException;
 
-    public abstract void setPrimaryColor(HSBType hsbType, int segmentIndex) throws ApiException;
+    void setPrimaryColor(HSBType hsbType, int segmentIndex) throws ApiException;
 
-    public abstract void setSecondaryColor(HSBType hsbType, int segmentIndex) throws ApiException;
+    void setSecondaryColor(HSBType hsbType, int segmentIndex) throws ApiException;
 
-    public abstract void setTertiaryColor(HSBType hsbType, int segmentIndex) throws ApiException;
+    void setTertiaryColor(HSBType hsbType, int segmentIndex) throws ApiException;
 
-    public abstract void setWhiteOnly(PercentType percentType, int segmentIndex) throws ApiException;
+    void setWhiteOnly(PercentType percentType, int segmentIndex) throws ApiException;
 
-    public abstract void setMirror(boolean bool, int segmentIndex) throws ApiException;
+    void setMirror(boolean bool, int segmentIndex) throws ApiException;
 
-    public abstract void setReverse(boolean bool, int segmentIndex) throws ApiException;
+    void setReverse(boolean bool, int segmentIndex) throws ApiException;
 
-    public abstract void setLiveOverride(String value) throws ApiException;
+    void setLiveOverride(String value) throws ApiException;
 
-    public abstract void setGrouping(int value, int segmentIndex) throws ApiException;
+    void setGrouping(int value, int segmentIndex) throws ApiException;
 
-    public abstract void setSpacing(int value, int segmentIndex) throws ApiException;
+    void setSpacing(int value, int segmentIndex) throws ApiException;
 
     /**
      * Saves a preset to the position number with the supplied name. If the supplied name is an empty String then the
      * name 'Preset x' will be used by default using the position number given.
      *
      */
-    public abstract void savePreset(int position, String presetName) throws ApiException;
+    void savePreset(int position, String presetName) throws ApiException;
 
-    public abstract List<StateOption> getUpdatedFxList();
+    List<StateOption> getUpdatedFxList();
 
-    public abstract List<StateOption> getUpdatedPaletteList();
+    List<StateOption> getUpdatedPaletteList();
 
-    public abstract List<String> getSegmentNames();
+    List<String> getSegmentNames();
 }
index 1cb66a163fc798945582b71a11028ced9dadc961..164179ccba809cd515c9484c04d997c8c0f9993e 100644 (file)
@@ -18,7 +18,7 @@ package org.openhab.binding.xmppclient.internal.handler;
  * @author Pavel Gololobov - Initial contribution
  */
 public interface XMPPClientMessageSubscriber {
-    public void processMessage(String from, String payload);
+    void processMessage(String from, String payload);
 
-    public String getName();
+    String getName();
 }
index 541edd386a4ea8a8c0d464618071de3ead5dad4c..1ff7f3c04c9f8410539debe32018ba0126b1821d 100644 (file)
@@ -22,11 +22,11 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface WebsocketInterface {
 
-    public void onConnect(boolean connected);
+    void onConnect(boolean connected);
 
-    public void onClose();
+    void onClose();
 
-    public void onMessage(String decodedmessage);
+    void onMessage(String decodedmessage);
 
-    public void onError(Throwable cause);
+    void onError(Throwable cause);
 }
index 9fd7cfd37364e779e660c4a2e97cc8a0e06539fe..188c3210764e8d6f54f5271fe48a3a28d03a74b3 100644 (file)
@@ -30,5 +30,5 @@ public interface CloudClientListener {
      * @param item the {@link String} containing item name
      * @param command the {@link String} containing a command
      */
-    public void sendCommand(String item, String command);
+    void sendCommand(String item, String command);
 }
index 7100ed4f0aaba9dc875ec2b5615f435777b9d239..ade59b34ca969855fbf159963bcea2d3ce07e7f0 100644 (file)
@@ -23,7 +23,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
 @NonNullByDefault
 public interface DynamoDBItemVisitor<T> {
 
-    public T visit(DynamoDBBigDecimalItem dynamoBigDecimalItem);
+    T visit(DynamoDBBigDecimalItem dynamoBigDecimalItem);
 
-    public T visit(DynamoDBStringItem dynamoStringItem);
+    T visit(DynamoDBStringItem dynamoStringItem);
 }