diff --git a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java index b04cccd71bc42..331c8ee7c89c2 100644 --- a/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java +++ b/bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java @@ -702,7 +702,7 @@ private boolean bgStartScanning(boolean active, int interval, int window) { .withMode(GapDiscoverMode.GAP_DISCOVER_OBSERVATION).build(); if (sendCommand(discoverCommand, BlueGigaDiscoverResponse.class, false) .getResult() == BgApiResponse.SUCCESS) { - logger.debug("{} scanning succesfully started.", active ? "Active" : "Passive"); + logger.debug("{} scanning successfully started.", active ? "Active" : "Passive"); return true; } } diff --git a/bundles/org.openhab.binding.etherrain/src/main/java/org/openhab/binding/etherrain/internal/handler/EtherRainHandler.java b/bundles/org.openhab.binding.etherrain/src/main/java/org/openhab/binding/etherrain/internal/handler/EtherRainHandler.java index b2fcce97ed818..749c8e5f70266 100644 --- a/bundles/org.openhab.binding.etherrain/src/main/java/org/openhab/binding/etherrain/internal/handler/EtherRainHandler.java +++ b/bundles/org.openhab.binding.etherrain/src/main/java/org/openhab/binding/etherrain/internal/handler/EtherRainHandler.java @@ -107,7 +107,7 @@ private void startUpdateJob() { logger.debug("Starting Etherrain Update Job"); this.updateJob = scheduler.scheduleWithFixedDelay(this::updateBridge, 0, config.refresh, TimeUnit.SECONDS); - logger.debug("EtherRain sucessfully initialized. Starting status poll at: {}", config.refresh); + logger.debug("EtherRain successfully initialized. Starting status poll at: {}", config.refresh); } private void stopUpdateJob() { diff --git a/bundles/org.openhab.binding.gree/src/main/java/org/openhab/binding/gree/internal/handler/GreeAirDevice.java b/bundles/org.openhab.binding.gree/src/main/java/org/openhab/binding/gree/internal/handler/GreeAirDevice.java index 401652e6bb462..1a5e5421ca05e 100644 --- a/bundles/org.openhab.binding.gree/src/main/java/org/openhab/binding/gree/internal/handler/GreeAirDevice.java +++ b/bundles/org.openhab.binding.gree/src/main/java/org/openhab/binding/gree/internal/handler/GreeAirDevice.java @@ -169,7 +169,7 @@ public void bindWithDevice(DatagramSocket clientSocket) throws GreeException { resp.decryptedPack = GreeCryptoUtil.decryptPack(GreeCryptoUtil.getAESGeneralKeyByteArray(), resp.pack); resp.packJson = gson.fromJson(resp.decryptedPack, GreeBindResponsePackDTO.class); - // Now set the key and flag to indicate the bind was succesful + // Now set the key and flag to indicate the bind was successful encKey = resp.packJson.key; // save the outcome diff --git a/bundles/org.openhab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/InstarHandler.java b/bundles/org.openhab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/InstarHandler.java index e2de2ff546212..3e10198d83d95 100644 --- a/bundles/org.openhab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/InstarHandler.java +++ b/bundles/org.openhab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/InstarHandler.java @@ -136,7 +136,7 @@ public void channelRead(@Nullable ChannelHandlerContext ctx, @Nullable Object ms if (requestUrl.startsWith("/param.cgi?cmd=setasaction&-server=1&enable=1") && content.contains("response=\"200\";")) {// new ipCameraHandler.newInstarApi = true; - ipCameraHandler.logger.debug("Alarm server sucessfully setup for a 2k+ Instar camera"); + ipCameraHandler.logger.debug("Alarm server successfully setup for a 2k+ Instar camera"); if (ipCameraHandler.cameraConfig.getFfmpegInput().isEmpty()) { ipCameraHandler.rtspUri = "rtsp://" + ipCameraHandler.cameraConfig.getIp() + "/livestream/12"; @@ -150,7 +150,7 @@ public void channelRead(@Nullable ChannelHandlerContext ctx, @Nullable Object ms } else if (requestUrl.startsWith("/param.cgi?cmd=setmdalarm&-aname=server2&-switch=on&-interval=1") && content.startsWith("[Succeed]set ok")) { ipCameraHandler.newInstarApi = false; - ipCameraHandler.logger.debug("Alarm server sucessfully setup for a 1080p Instar camera"); + ipCameraHandler.logger.debug("Alarm server successfully setup for a 1080p Instar camera"); } else { ipCameraHandler.logger.debug("Unknown reply from URI:{}", requestUrl); } diff --git a/bundles/org.openhab.binding.juicenet/src/main/java/org/openhab/binding/juicenet/internal/api/JuiceNetApi.java b/bundles/org.openhab.binding.juicenet/src/main/java/org/openhab/binding/juicenet/internal/api/JuiceNetApi.java index 667b5119d5fde..6afc893603ad7 100644 --- a/bundles/org.openhab.binding.juicenet/src/main/java/org/openhab/binding/juicenet/internal/api/JuiceNetApi.java +++ b/bundles/org.openhab.binding.juicenet/src/main/java/org/openhab/binding/juicenet/internal/api/JuiceNetApi.java @@ -197,7 +197,7 @@ public JsonObject postApiCommand(ApiCommand cmd, @Nullable String token, Map {}", cookie.getName(), cookie.getValue()); if (cookie.getName().contentEquals("serviceToken")) { serviceToken = cookie.getValue(); - logger.debug("Xiaomi cloud logon succesfull."); + logger.debug("Xiaomi cloud logon successful."); logger.trace("Xiaomi cloud servicetoken: {}", serviceToken); } } diff --git a/bundles/org.openhab.binding.ojelectronics/README.md b/bundles/org.openhab.binding.ojelectronics/README.md index 8ff95d2bed45a..b14b6bb6028be 100644 --- a/bundles/org.openhab.binding.ojelectronics/README.md +++ b/bundles/org.openhab.binding.ojelectronics/README.md @@ -13,7 +13,7 @@ There are two things: ## Discovery -After the ojcloud bridge is succesfully initialized all thermostats will be discovered. +After the ojcloud bridge is successfully initialized all thermostats will be discovered. ### OJ Electronics Bridge configuration (ojcloud) diff --git a/bundles/org.openhab.binding.onewire/src/main/java/org/openhab/binding/onewire/internal/handler/OwserverBridgeHandler.java b/bundles/org.openhab.binding.onewire/src/main/java/org/openhab/binding/onewire/internal/handler/OwserverBridgeHandler.java index 3feebeb2078d8..d0c3bb7bec790 100644 --- a/bundles/org.openhab.binding.onewire/src/main/java/org/openhab/binding/onewire/internal/handler/OwserverBridgeHandler.java +++ b/bundles/org.openhab.binding.onewire/src/main/java/org/openhab/binding/onewire/internal/handler/OwserverBridgeHandler.java @@ -184,7 +184,7 @@ private void refresh() { try { owHandler.updateSensorProperties(this); owHandler.initialize(); - logger.debug("{} sucessfully updated properties, removing from property update list", + logger.debug("{} successfully updated properties, removing from property update list", updateThing.getUID()); } catch (OwException e) { thingPropertiesUpdateQueue.add(updateThing); diff --git a/bundles/org.openhab.binding.onewire/src/test/java/org/openhab/binding/onewire/owserver/OwserverConnectionTest.java b/bundles/org.openhab.binding.onewire/src/test/java/org/openhab/binding/onewire/owserver/OwserverConnectionTest.java index 5871b038f7100..bb0e7ac1db887 100644 --- a/bundles/org.openhab.binding.onewire/src/test/java/org/openhab/binding/onewire/owserver/OwserverConnectionTest.java +++ b/bundles/org.openhab.binding.onewire/src/test/java/org/openhab/binding/onewire/owserver/OwserverConnectionTest.java @@ -91,7 +91,7 @@ public void tearDown() { } @Test - public void successfullConnectionReportedToBridgeHandler() { + public void successfulConnectionReportedToBridgeHandler() { final OwserverConnection owserverConnection = this.owserverConnection; if (owserverConnection == null) { fail("connection is null"); diff --git a/bundles/org.openhab.binding.tankerkoenig/src/main/java/org/openhab/binding/tankerkoenig/internal/TankerkoenigBindingConstants.java b/bundles/org.openhab.binding.tankerkoenig/src/main/java/org/openhab/binding/tankerkoenig/internal/TankerkoenigBindingConstants.java index ba528cd53d82f..6a89702e6119e 100644 --- a/bundles/org.openhab.binding.tankerkoenig/src/main/java/org/openhab/binding/tankerkoenig/internal/TankerkoenigBindingConstants.java +++ b/bundles/org.openhab.binding.tankerkoenig/src/main/java/org/openhab/binding/tankerkoenig/internal/TankerkoenigBindingConstants.java @@ -49,6 +49,6 @@ public class TankerkoenigBindingConstants { public static final String CONFIG_REFRESH = "refresh"; public static final String CONFIG_MODE_OPENINGTIME = "modeOpeningTime"; - // String used Identify unsucessful web-return + // String used Identify unsuccessful web-return public static final String NO_VALID_RESPONSE = "No valid response from the web-request!"; } diff --git a/bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceConnector.java b/bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceConnector.java index d8184e08c5b53..da56f126de0ec 100644 --- a/bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceConnector.java +++ b/bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceConnector.java @@ -263,7 +263,7 @@ protected void handleSuccessResponse(String responseBody) { JsonObject jsnResult = getJsonFromResponse(responseBody); Integer errorCode = jsonObjectToInt(jsnResult, "error_code", ERR_JSON_DECODE_FAIL); if (errorCode != 0) { - logger.debug("({}) set deviceInfo not succesfull: {}", uid, jsnResult); + logger.debug("({}) set deviceInfo not successful: {}", uid, jsnResult); this.device.handleConnectionState(); } this.device.responsePasstrough(responseBody); @@ -341,7 +341,7 @@ private JsonObject getJsonFromResponse(String responseBody) { jsonObject = gson.fromJson(responseBody, JsonObject.class); logger.trace("({}) received result: {}", uid, responseBody); if (jsonObject != null) { - /* return result if set / else request was successfull */ + /* return result if set / else request was successful */ if (jsonObject.has("result")) { return jsonObject.getAsJsonObject("result"); } else { diff --git a/bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceHttpApi.java b/bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceHttpApi.java index 211c895fef2b0..861cf52d8f557 100644 --- a/bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceHttpApi.java +++ b/bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceHttpApi.java @@ -240,7 +240,7 @@ private String getTokenFromResponse(@Nullable ContentResponse response) { if (jsonObject != null) { Integer errorCode = jsonObjectToInt(jsonObject, "error_code", ERR_JSON_DECODE_FAIL); if (errorCode == 0) { - /* return result if set / else request was successfull */ + /* return result if set / else request was successful */ result = jsonObjectToString(jsonObject.getAsJsonObject("result"), "token"); } else { /* return errorcode from device */ @@ -344,7 +344,7 @@ public void onComplete(Result result) { logger.debug("({}) sendAsyncRequest response error'{}'", uid, response.getStatus()); handleError(new TapoErrorHandler(ERR_HTTP_RESPONSE, getContentAsString())); } else { - /* request succesfull */ + /* request successful */ String rBody = getContentAsString(); logger.trace("({}) receivedRespose '{}'", uid, rBody); if (!hasErrorCode(rBody)) { diff --git a/bundles/org.openhab.binding.velux/README.md b/bundles/org.openhab.binding.velux/README.md index f9b72ae43bb4e..fd33403ae7012 100644 --- a/bundles/org.openhab.binding.velux/README.md +++ b/bundles/org.openhab.binding.velux/README.md @@ -298,12 +298,12 @@ The method is called with the following syntax `moveMainAndVane(thingName, mainP The meaning of the arguments is described in the table below. The method returns a `Boolean` whose meaning is also described in the table below. -| Argument | Type | Example | Description | -|-------------|---------|-------------------------------------|-----------------------------------------------------------------------------------------| -| thingName | String | "velux:rollershutter:hubid:thingid" | The thing name of the shutter. Must be a valid configured thing in the hub. | -| mainPercent | Integer | 75 | The target main position in percent. Integer between 0 and 100. | -| vanePercent | Integer | 25 | The target vane position in percent. Integer between 0 and 100. | -| return | Boolean | `true` | Is `true` if the command was sent sucessfully or `false` if any arguments were invalid. | +| Argument | Type | Example | Description | +|-------------|---------|-------------------------------------|------------------------------------------------------------------------------------------| +| thingName | String | "velux:rollershutter:hubid:thingid" | The thing name of the shutter. Must be a valid configured thing in the hub. | +| mainPercent | Integer | 75 | The target main position in percent. Integer between 0 and 100. | +| vanePercent | Integer | 25 | The target vane position in percent. Integer between 0 and 100. | +| return | Boolean | `true` | Is `true` if the command was sent successfully or `false` if any arguments were invalid. | Example: diff --git a/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/handler/VeluxBridgeHandler.java b/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/handler/VeluxBridgeHandler.java index d033f11c17ceb..836f7e492d07d 100644 --- a/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/handler/VeluxBridgeHandler.java +++ b/bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/handler/VeluxBridgeHandler.java @@ -872,7 +872,7 @@ public boolean rebootBridge() { // background execution of reboot process submitCommunicationsJob(() -> { if (thisBridge.bridgeCommunicate(bcp)) { - logger.info("Reboot command {}sucessfully sent to {}", bcp.isCommunicationSuccessful() ? "" : "un", + logger.info("Reboot command {}successfully sent to {}", bcp.isCommunicationSuccessful() ? "" : "un", getThing().getUID()); } }); @@ -900,7 +900,7 @@ public boolean moveRelative(int nodeId, int relativePercent) { relativePercent > 0 ? PositionType.OFFSET_POSITIVE : PositionType.OFFSET_NEGATIVE), null); if (thisBridge.bridgeCommunicate(bcp)) { - logger.trace("moveRelative() command {}sucessfully sent to {}", + logger.trace("moveRelative() command {}successfully sent to {}", bcp.isCommunicationSuccessful() ? "" : "un", getThing().getUID()); } } @@ -970,7 +970,7 @@ public Boolean moveMainAndVane(ProductBridgeIndex node, PercentType mainPosition bcp.setNodeIdAndParameters(node.toInt(), mainPos, functionalParameters); submitCommunicationsJob(() -> { if (thisBridge.bridgeCommunicate(bcp)) { - logger.trace("moveMainAndVane() command {}sucessfully sent to {}", + logger.trace("moveMainAndVane() command {}successfully sent to {}", bcp.isCommunicationSuccessful() ? "" : "un", getThing().getUID()); } }); diff --git a/bundles/org.openhab.binding.verisure/src/main/java/org/openhab/binding/verisure/internal/handler/VerisureSmartLockThingHandler.java b/bundles/org.openhab.binding.verisure/src/main/java/org/openhab/binding/verisure/internal/handler/VerisureSmartLockThingHandler.java index 4752a1728ac76..f0d0968efb66e 100644 --- a/bundles/org.openhab.binding.verisure/src/main/java/org/openhab/binding/verisure/internal/handler/VerisureSmartLockThingHandler.java +++ b/bundles/org.openhab.binding.verisure/src/main/java/org/openhab/binding/verisure/internal/handler/VerisureSmartLockThingHandler.java @@ -140,7 +140,7 @@ private void handeAutoRelockResult(String url, String data, BigDecimal installat if (session != null) { int httpResultCode = session.sendCommand(url, data, installationId); if (httpResultCode == HttpStatus.OK_200) { - logger.debug("AutoRelock sucessfully changed to {}", command.toString()); + logger.debug("AutoRelock successfully changed to {}", command.toString()); } else { logger.warn("Failed to send command, HTTP result code {}", httpResultCode); } @@ -223,7 +223,7 @@ private void handleSmartLockVolumeAndVoiceLevel(Command command, boolean setVolu logger.debug("Trying to set SmartLock volume with URL {} and data {}", url, data); int httpResultCode = session.sendCommand(url, data, installationId); if (httpResultCode == HttpStatus.OK_200) { - logger.debug("SmartLock volume sucessfully changed!"); + logger.debug("SmartLock volume successfully changed!"); } else { logger.warn("Failed to send command, HTTP result code {}", httpResultCode); } diff --git a/bundles/org.openhab.persistence.dynamodb/src/main/java/org/openhab/persistence/dynamodb/internal/TableCreatingPutItem.java b/bundles/org.openhab.persistence.dynamodb/src/main/java/org/openhab/persistence/dynamodb/internal/TableCreatingPutItem.java index be1144034553e..4511d156cf887 100644 --- a/bundles/org.openhab.persistence.dynamodb/src/main/java/org/openhab/persistence/dynamodb/internal/TableCreatingPutItem.java +++ b/bundles/org.openhab.persistence.dynamodb/src/main/java/org/openhab/persistence/dynamodb/internal/TableCreatingPutItem.java @@ -237,7 +237,7 @@ private CompletableFuture waitForTableToBeActive() { .thenAcceptAsync(tableWaitResponse -> { // if waiter fails, the future is completed exceptionally (not entering this step) ResponseOrException responseOrException = tableWaitResponse.matched(); - logger.trace("PutItem: Table wait completed sucessfully with {} attempts: {}", + logger.trace("PutItem: Table wait completed successfully with {} attempts: {}", tableWaitResponse.attemptsExecuted(), toString(responseOrException)); }, executor); }