From ef836a15dcabfcbd29cd737901becee45e8190bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BB=D1=8F=D0=BD=20=D0=9F=D0=B0=D0=BB=D0=B0?= =?UTF-8?q?=D1=83=D0=B7=D0=BE=D0=B2?= Date: Sun, 18 Dec 2022 15:18:24 +0200 Subject: [PATCH] typos: success, successful (#13997) --- .../bluegiga/handler/BlueGigaBridgeHandler.java | 2 +- .../etherrain/internal/handler/EtherRainHandler.java | 2 +- .../binding/gree/internal/handler/GreeAirDevice.java | 2 +- .../binding/ipcamera/internal/InstarHandler.java | 4 ++-- .../binding/juicenet/internal/api/JuiceNetApi.java | 2 +- bundles/org.openhab.binding.loxone/README.md | 2 +- .../openhab/binding/loxone/internal/LxWebSocket.java | 2 +- .../miio/internal/cloud/MiCloudConnector.java | 2 +- bundles/org.openhab.binding.ojelectronics/README.md | 2 +- .../internal/handler/OwserverBridgeHandler.java | 2 +- .../onewire/owserver/OwserverConnectionTest.java | 2 +- .../internal/TankerkoenigBindingConstants.java | 2 +- .../internal/api/TapoDeviceConnector.java | 4 ++-- .../tapocontrol/internal/api/TapoDeviceHttpApi.java | 4 ++-- bundles/org.openhab.binding.velux/README.md | 12 ++++++------ .../velux/internal/handler/VeluxBridgeHandler.java | 6 +++--- .../handler/VerisureSmartLockThingHandler.java | 4 ++-- .../dynamodb/internal/TableCreatingPutItem.java | 2 +- 18 files changed, 29 insertions(+), 29 deletions(-) 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 b04cccd71..331c8ee7c 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 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler {}", 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 8ff95d2be..b14b6bb60 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 3feebeb20..d0c3bb7be 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 @@ public class OwserverBridgeHandler extends BaseBridgeHandler { 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 5871b038f..bb0e7ac1d 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 class OwserverConnectionTest extends JavaTest { } @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 ba528cd53..6a89702e6 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 d8184e08c..da56f126d 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 @@ public class TapoDeviceConnector extends TapoDeviceHttpApi { 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 @@ public class TapoDeviceConnector extends TapoDeviceHttpApi { 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 211c895fe..861cf52d8 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 @@ public class TapoDeviceHttpApi { 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 class TapoDeviceHttpApi { 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 f9b72ae43..fd33403ae 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 d033f11c1..836f7e492 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 class VeluxBridgeHandler extends ExtendedBaseBridgeHandler implements Vel // 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 class VeluxBridgeHandler extends ExtendedBaseBridgeHandler implements Vel 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 class VeluxBridgeHandler extends ExtendedBaseBridgeHandler implements Vel 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 4752a1728..f0d0968ef 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 @@ public class VerisureSmartLockThingHandler extends VerisureThingHandler> { .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); }