Typos a/an (#13846)
This commit is contained in:
@@ -360,7 +360,7 @@ public class Config {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the path to the SSL-Certificate. It can be a absolute or relative path.
|
||||
* Sets the path to the SSL-Certificate. It can be an absolute or relative path.
|
||||
*
|
||||
* @param trustCertPath path to a SSL-Certificate
|
||||
*/
|
||||
|
||||
@@ -289,7 +289,7 @@ public class EventListener {
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a event and subscribed it, if it is not subscribed already.
|
||||
* Adds an event and subscribes it, if it is not subscribed already.
|
||||
*
|
||||
* @param subscribeEvent event name to subscribe
|
||||
*/
|
||||
@@ -304,7 +304,7 @@ public class EventListener {
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the events of the {@link List} and subscribe them, if a event is not subscribed already.
|
||||
* Adds the events of the {@link List} and subscribe them, if an event is not subscribed already.
|
||||
*
|
||||
* @param subscribeEvents event name to subscribe
|
||||
*/
|
||||
|
||||
@@ -92,7 +92,7 @@ public class ConnectionManagerImpl implements ConnectionManager {
|
||||
|
||||
/**
|
||||
* The same constructor like {@link #ConnectionManagerImpl(Config, ConnectionListener)}, but through genApToken it
|
||||
* can be set, if a application token will be automatically generated.
|
||||
* can be set, if an application token will be automatically generated.
|
||||
*
|
||||
* @param config (must not be null)
|
||||
* @param connectionListener (can be null)
|
||||
@@ -108,7 +108,7 @@ public class ConnectionManagerImpl implements ConnectionManager {
|
||||
/**
|
||||
* Creates a new {@link ConnectionManagerImpl} with the given parameters, which are needed to create the
|
||||
* {@link HttpTransport} and to login into the digitalSTROM server. If the application token is null and the
|
||||
* username and password are valid, a application token will be automatically generated or a existing application
|
||||
* username and password are valid, an application token will be automatically generated or an existing application
|
||||
* token for the at {@link Config#getApplicationName()} set application name will be set.
|
||||
*
|
||||
* @param hostAddress (must not be null)
|
||||
@@ -179,7 +179,7 @@ public class ConnectionManagerImpl implements ConnectionManager {
|
||||
|
||||
/**
|
||||
* The same constructor like {@link #ConnectionManagerImpl(String, String, String)}, but through genApToken it
|
||||
* can be set, if a application token will be automatically generated.
|
||||
* can be set, if an application token will be automatically generated.
|
||||
*
|
||||
* @param hostAddress (must not be null)
|
||||
* @param username (must not be null)
|
||||
@@ -194,7 +194,7 @@ public class ConnectionManagerImpl implements ConnectionManager {
|
||||
|
||||
/**
|
||||
* The same constructor like {@link #ConnectionManagerImpl(String, String, String, String)}, but through genApToken
|
||||
* it can be set, if a application token will be automatically generated.
|
||||
* it can be set, if an application token will be automatically generated.
|
||||
*
|
||||
* @param hostAddress (must not be null)
|
||||
* @param username (can be null, if application token is set)
|
||||
@@ -424,7 +424,7 @@ public class ConnectionManagerImpl implements ConnectionManager {
|
||||
applicationToken = this.digitalSTROMClient
|
||||
.requestAppplicationToken(config.getApplicationName());
|
||||
logger.debug(
|
||||
"no application-token for application {} found, generate a application-token {}",
|
||||
"no application-token for application {} found, generate an application-token {}",
|
||||
config.getApplicationName(), applicationToken);
|
||||
if (applicationToken != null && !applicationToken.isBlank()) {
|
||||
// enable applicationToken
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory;
|
||||
* The {@link AbstractSensorJobExecutor} provides the working process to execute implementations of {@link SensorJob}'s
|
||||
* in the time interval set at the {@link Config}.
|
||||
* <p>
|
||||
* The following methods can be overridden by subclasses to implement a execution priority:
|
||||
* The following methods can be overridden by subclasses to implement an execution priority:
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>{@link #addLowPriorityJob(SensorJob)}</li>
|
||||
|
||||
@@ -936,7 +936,7 @@ public class DsAPIImpl implements DsAPI {
|
||||
} else {
|
||||
builder.buildRequestString();
|
||||
throw new IllegalArgumentException(
|
||||
"The first field of the object array have to be a String and the second have to be a Integer.");
|
||||
"The first field of the object array have to be a String and the second have to be an Integer.");
|
||||
}
|
||||
}
|
||||
String response = transport.execute(builder.buildRequestString());
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.openhab.binding.digitalstrom.internal.lib.structure.devices.devicepar
|
||||
import com.google.gson.JsonObject;
|
||||
|
||||
/**
|
||||
* The {@link AbstractGeneralDeviceInformations} is a abstract implementation of {@link GeneralDeviceInformations} and
|
||||
* The {@link AbstractGeneralDeviceInformations} is an abstract implementation of {@link GeneralDeviceInformations} and
|
||||
* can be implement by subclasses which contains the same device informations like dSID and/or mechanismen like the
|
||||
* {@link DeviceStatusListener}.
|
||||
*
|
||||
|
||||
@@ -394,14 +394,14 @@ public interface Device extends GeneralDeviceInformation {
|
||||
List<Short> getSavedScenes();
|
||||
|
||||
/**
|
||||
* Initializes a internal device update as call scene for the given scene number.
|
||||
* Initializes an internal device update as call scene for the given scene number.
|
||||
*
|
||||
* @param sceneNumber to call
|
||||
*/
|
||||
void internalCallScene(Short sceneNumber);
|
||||
|
||||
/**
|
||||
* Initializes a internal device update as undo scene.
|
||||
* Initializes an internal device update as undo scene.
|
||||
*/
|
||||
void internalUndoScene();
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ public class InternalScene {
|
||||
}
|
||||
|
||||
/**
|
||||
* Will be called by a device, if an undo call of an other scene activated this scene.
|
||||
* Will be called by a device, if an undo call of another scene activated this scene.
|
||||
*/
|
||||
public void activateSceneByDevice() {
|
||||
logger.debug("activate scene by device: {}", this.getSceneName());
|
||||
@@ -134,7 +134,7 @@ public class InternalScene {
|
||||
}
|
||||
|
||||
/**
|
||||
* Will be called by a device, if an call of an other scene deactivated this scene.
|
||||
* Will be called by a device, if a call of another scene deactivated this scene.
|
||||
*/
|
||||
public void deactivateSceneByDevice() {
|
||||
logger.debug("deactivate scene by device: {}", this.getSceneName());
|
||||
|
||||
@@ -355,7 +355,7 @@ binary_input_brightness_label = Brightness sensor
|
||||
binary_input_brightness_desc = Will be activated, if the brightness is higher than a setted value.
|
||||
|
||||
binary_input_presence_in_darkness_label = Presence in darkness sensor
|
||||
binary_input_presence_in_darkness_desc = Will be activated, if a presence is detected. Sensor has a integrated twilight sensor.
|
||||
binary_input_presence_in_darkness_desc = Will be activated, if a presence is detected. Sensor has an integrated twilight sensor.
|
||||
|
||||
binary_input_twilight_label = Twilight sensor
|
||||
binary_input_twilight_desc = Will be activated by twilight.
|
||||
@@ -364,7 +364,7 @@ binary_input_motion_label = Motion sensor
|
||||
binary_input_motion_desc = Will be activated, if a motion is detected.
|
||||
|
||||
binary_input_motion_in_darkness_label = Motion in darkness sensor
|
||||
binary_input_motion_in_darkness_desc = Will be activated, if a motion is detected. Sensor has a integrated twilight sensor.
|
||||
binary_input_motion_in_darkness_desc = Will be activated, if a motion is detected. Sensor has an integrated twilight sensor.
|
||||
|
||||
binary_input_smoke_label = Smoke sensor
|
||||
binary_input_smoke_desc = Will be activated, if smoke is detected.
|
||||
|
||||
Reference in New Issue
Block a user