Commit 85d8cafd authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Fix getCell retrieval

getCell is zero based.
parent fc138189
......@@ -254,7 +254,7 @@ class KafkaTopology(private val settings: SettingsLoader) {
null
} else {
val rowIdentifier: String = try {
row.getCell(identifierIndex).let { cell ->
row.getCell(identifierIndex - 1).let { cell ->
if (cell != null) {
when (val cellValue = cell.stringCellValue) {
"" -> {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment