Also parsing securityClass to null if string is empty
This commit is contained in:
parent
c300bd2b7b
commit
e71799fcc3
|
@ -297,7 +297,7 @@ open class ResponseParser @JvmOverloads constructor(
|
||||||
val minimumCountSignatures = parseInt(dataElementGroups[2])
|
val minimumCountSignatures = parseInt(dataElementGroups[2])
|
||||||
|
|
||||||
// Bei aelteren Version fehlt das Datenelement 'Sicherheitsklasse'. Ist fuer PIN/TAN eh zu ignorieren
|
// Bei aelteren Version fehlt das Datenelement 'Sicherheitsklasse'. Ist fuer PIN/TAN eh zu ignorieren
|
||||||
val securityClass = if (dataElementGroups.size > 3) parseNullableInt(dataElementGroups[3]) else null
|
val securityClass = if (dataElementGroups.size > 3) parseIntToNullIfEmpty(dataElementGroups[3]) else null
|
||||||
|
|
||||||
return JobParameters(jobName, maxCountJobs, minimumCountSignatures, securityClass, segment)
|
return JobParameters(jobName, maxCountJobs, minimumCountSignatures, securityClass, segment)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue