]> git.basschouten.com Git - openhab-addons.git/commitdiff
typos: success, successful (#13997)
authorДилян Палаузов <git-dpa@aegee.org>
Sun, 18 Dec 2022 13:18:24 +0000 (15:18 +0200)
committerGitHub <noreply@github.com>
Sun, 18 Dec 2022 13:18:24 +0000 (14:18 +0100)
18 files changed:
bundles/org.openhab.binding.bluetooth.bluegiga/src/main/java/org/openhab/binding/bluetooth/bluegiga/handler/BlueGigaBridgeHandler.java
bundles/org.openhab.binding.etherrain/src/main/java/org/openhab/binding/etherrain/internal/handler/EtherRainHandler.java
bundles/org.openhab.binding.gree/src/main/java/org/openhab/binding/gree/internal/handler/GreeAirDevice.java
bundles/org.openhab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/InstarHandler.java
bundles/org.openhab.binding.juicenet/src/main/java/org/openhab/binding/juicenet/internal/api/JuiceNetApi.java
bundles/org.openhab.binding.loxone/README.md
bundles/org.openhab.binding.loxone/src/main/java/org/openhab/binding/loxone/internal/LxWebSocket.java
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/cloud/MiCloudConnector.java
bundles/org.openhab.binding.ojelectronics/README.md
bundles/org.openhab.binding.onewire/src/main/java/org/openhab/binding/onewire/internal/handler/OwserverBridgeHandler.java
bundles/org.openhab.binding.onewire/src/test/java/org/openhab/binding/onewire/owserver/OwserverConnectionTest.java
bundles/org.openhab.binding.tankerkoenig/src/main/java/org/openhab/binding/tankerkoenig/internal/TankerkoenigBindingConstants.java
bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceConnector.java
bundles/org.openhab.binding.tapocontrol/src/main/java/org/openhab/binding/tapocontrol/internal/api/TapoDeviceHttpApi.java
bundles/org.openhab.binding.velux/README.md
bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/handler/VeluxBridgeHandler.java
bundles/org.openhab.binding.verisure/src/main/java/org/openhab/binding/verisure/internal/handler/VerisureSmartLockThingHandler.java
bundles/org.openhab.persistence.dynamodb/src/main/java/org/openhab/persistence/dynamodb/internal/TableCreatingPutItem.java

index b04cccd71bc4269aae34071e5d2426e5f0c3d200..331c8ee7c89c2976afc54f06e25d9b6c2a072ef0 100644 (file)
@@ -702,7 +702,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
                         .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;
                 }
             }
index b2fcce97ed818e00a3dad89bb7534f3d67627b80..749c8e5f70266901e541f9f855415f05825ec13d 100644 (file)
@@ -107,7 +107,7 @@ public class EtherRainHandler extends BaseThingHandler {
         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() {
index 401652e6bb462527664670ea21a67e21b363b1db..1a5e5421ca05e2a9ff180b8ffa58bd4db81f7c59 100644 (file)
@@ -169,7 +169,7 @@ public class GreeAirDevice {
             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
index e2de2ff546212e909dafcf2943344efdd67ea120..3e10198d83d95e86a3014e6248802652a6ba063f 100644 (file)
@@ -136,7 +136,7 @@ public class InstarHandler extends ChannelDuplexHandler {
                     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 class InstarHandler extends ChannelDuplexHandler {
                     } 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);
                     }
index 667b5119d5fdef6be51c31e234622b957d232284..6afc893603ad7b8074d8c23f2f0a7985ec73d7d6 100644 (file)
@@ -197,7 +197,7 @@ public class JuiceNetApi {
             ContentResponse response = request.send();
             if (response.getStatus() != HttpStatus.OK_200) {
                 throw new JuiceNetApiException(
-                        cmd.command + "from JuiceNet API unsucessful, please check configuation. (HTTP code :"
+                        cmd.command + "from JuiceNet API unsuccessful, please check configuation. (HTTP code :"
                                 + response.getStatus() + ").");
             }
 
index 3780288051af7dc2fd5b951aeeb7ae565b8e1483..7a9d42567fe29b7224f89f5b90903558a067d549 100644 (file)
@@ -97,7 +97,7 @@ The binding supports the following authentication methods, which are selected au
 
 For the token-based authentication, the password is required only for the first login and acquiring the token. After the token is acquired, the password is cleared in the binding configuration.
 
-The acquired token will remain active for several weeks following the last succesful authentication with this token. If the connection is not established used during that period and the token expires, a user password has to be re-entered in the binding settings to acquire a new token.
+The acquired token will remain active for several weeks following the last successful authentication with this token. If the connection is not established used during that period and the token expires, a user password has to be re-entered in the binding settings to acquire a new token.
 
 In case a websocket connection to the Miniserver remains active for the whole duration of the token's life span, the binding will refresh the token one day before token expiration, without the need of providing the password.
 
index cfa94aabdfc4f3c8f002d5ca71ffbd5845f7b472..67d0fa634052cb8f21f6523cdb59b814a0d3f94a 100644 (file)
@@ -631,7 +631,7 @@ public class LxWebSocket {
      * This method sends a request to receive Miniserver configuration.
      */
     private void authenticated() {
-        logger.debug("[{}] Websocket authentication successfull.", debugId);
+        logger.debug("[{}] Websocket authentication successful.", debugId);
         webSocketLock.lock();
         try {
             awaitingConfiguration = true;
index 947067c47832db368a84d2dd3d9e0b75ac8b10ef..2b49004e607aebdab6f9974017528cc9e1f3a812 100644 (file)
@@ -543,7 +543,7 @@ public class MiCloudConnector {
             logger.trace("Cookie :{} --> {}", 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);
             }
         }
index 8ff95d2bed45a5e788eb8f54593659e7c8861c43..b14b6bb6028be09f2448f160641ead06a4c8c10e 100644 (file)
@@ -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)
 
index 3feebeb2078d8f7133073c1d62619d45199e0129..d0c3bb7bec790cafc47798d82a8c8d5e7179d107 100644 (file)
@@ -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);
index 5871b038f7100b65c68ad0dc5a7a21aa7c2d9b8b..bb0e7ac1db887d4fae87e0401f7a50e09a44ac6a 100644 (file)
@@ -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");
index ba528cd53d82f5ae825fdb4adc89dea1875573e3..6a89702e6119eeee331d308ae98325686f3c0355 100644 (file)
@@ -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!";
 }
index d8184e08c5b53ea1f6b5e8964243b2af39937815..da56f126de0ec5a35c1ee3dad31e1266b590d468 100644 (file)
@@ -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 {
index 211c895fef2b0526cd98eeaf74a47cc81095f0f7..861cf52d8f557fff4b044d09dbc0d75d5f81f6a7 100644 (file)
@@ -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)) {
index f9b72ae43bb4e08911648bdfbc44de73fef7be7c..fd33403ae70123e92c1a3bd403c815f09b13e39a 100644 (file)
@@ -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:
 
index d033f11c17ceb32a2905e1983072059b084400a7..836f7e492d07d9b2fc2bf14bb25681ad78351b42 100644 (file)
@@ -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());
                 }
             });
index 4752a1728ac7614409183fe039dcae365ca6fd27..f0d0968efb66ed45c60246db38a13d003cb450ef 100644 (file)
@@ -140,7 +140,7 @@ public class VerisureSmartLockThingHandler extends VerisureThingHandler<Verisure
         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 @@ public class VerisureSmartLockThingHandler extends VerisureThingHandler<Verisure
                             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);
                             }
index be1144034553e7f1bb1ec9f71617e5a4d216bb27..4511d156cf88720da473c92eeee767c19c8021f8 100644 (file)
@@ -237,7 +237,7 @@ public class TableCreatingPutItem<T extends DynamoDBItem<?>> {
                 .thenAcceptAsync(tableWaitResponse -> {
                     // if waiter fails, the future is completed exceptionally (not entering this step)
                     ResponseOrException<DescribeTableResponse> 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);
     }