typos: success, successful (#13997)

This commit is contained in:
Дилян Палаузов
2022-12-18 15:18:24 +02:00
committed by GitHub
parent 6b1354f9ba
commit ef836a15dc
18 changed files with 29 additions and 29 deletions

View 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:

View 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());
}
});