Fixed size check

This commit is contained in:
dankito 2019-10-15 20:17:09 +02:00 committed by dankito
parent f3c2cb871a
commit e8a7ef7484
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ open class ResponseParser @JvmOverloads constructor(
parseCodeEnum(procedureDataElements[17], Initialisierungsmodus.values()),
parseCodeEnum(procedureDataElements[18], BezeichnungDesTanMediumsErforderlich.values()),
parseBoolean(procedureDataElements[19]),
if (procedureDataElements.size >= 20) parseNullableInt(procedureDataElements[20]) else null
if (procedureDataElements.size > 20) parseNullableInt(procedureDataElements[20]) else null
)
}