Typos a/an (#13846)

This commit is contained in:
Дилян Палаузов
2022-12-05 19:47:43 +02:00
committed by GitHub
parent 54b2772df4
commit 2a5d6beb64
149 changed files with 196 additions and 196 deletions

View File

@@ -42,7 +42,7 @@ public abstract class CommonRpcParser<M, R> implements RpcParser<M, R> {
}
/**
* Converts the object to a integer.
* Converts the object to an integer.
*/
protected Integer toInteger(Object object) {
if (object == null || object instanceof Integer) {

View File

@@ -284,7 +284,7 @@ public class DisplayTextVirtualDatapoint extends AbstractVirtualDatapointHandler
}
/**
* Returns true, if the display is a EP display.
* Returns true, if the display is an EP display.
*/
private boolean isEpDisplay(HmDevice device) {
return DEVICE_TYPE_EP_STATUS_DISPLAY.equals(device.getType());

View File

@@ -28,7 +28,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A virtual Number datapoint which adds a automatic ON_TIME datapoint on supported device. This datapoint sets the
* A virtual Number datapoint which adds an automatic ON_TIME datapoint on supported device. This datapoint sets the
* ON_TIME datapoint every time a STATE or LEVEL datapoint is set, so that the light turns off automatically by the
* device after the specified time.
*

View File

@@ -318,7 +318,7 @@ public class HmDatapoint implements Cloneable {
}
/**
* Returns true, if the datapoint is a action.
* Returns true, if the datapoint is an action.
*/
public boolean isActionType() {
return type == HmValueType.ACTION;
@@ -339,7 +339,7 @@ public class HmDatapoint implements Cloneable {
}
/**
* Returns true, if the datapoint is a integer.
* Returns true, if the datapoint is an integer.
*/
public boolean isIntegerType() {
return type == HmValueType.INTEGER;
@@ -360,7 +360,7 @@ public class HmDatapoint implements Cloneable {
}
/**
* Returns true, if the datapoint is a enum.
* Returns true, if the datapoint is an enum.
*/
public boolean isEnumType() {
return type == HmValueType.ENUM;