Typos a/an (#13812)

This commit is contained in:
Дилян Палаузов
2022-12-01 15:30:50 +02:00
committed by GitHub
parent 622654ff1d
commit 78534e8106
105 changed files with 144 additions and 143 deletions

View File

@@ -362,7 +362,7 @@ public class KM200ThingHandler extends BaseThingHandler {
logger.trace("Create things: {} id: {} channel: {}", thing.getUID(), subKey, thing.getUID().getId());
switch (subKeyType) {
case DATA_TYPE_STRING_VALUE:
/* Creating an new channel type with capabilities from service */
/* Creating a new channel type with capabilities from service */
List<StateOption> options = null;
if (serObj.serviceTreeMap.get(subKey).getValueParameter() != null) {
options = new ArrayList<>();
@@ -409,7 +409,7 @@ public class KM200ThingHandler extends BaseThingHandler {
}
/* Check the capabilities of this service */
if (serObj.serviceTreeMap.get(subKey).getValueParameter() != null) {
/* Creating an new channel type with capabilities from service */
/* Creating a new channel type with capabilities from service */
// The type is definitely correct here
@SuppressWarnings("unchecked")
List<Object> subValParas = (List<Object>) serObj.serviceTreeMap.get(subKey).getValueParameter();