From c9c8e9b5b25d066cc9daa9779f072d22d85712d2 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 2 Aug 2024 10:39:10 +0200 Subject: [PATCH] cleanup after code-review --- .../hostsharing/hsadminng/hs/migration/CsvDataImport.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/migration/CsvDataImport.java b/src/test/java/net/hostsharing/hsadminng/hs/migration/CsvDataImport.java index 70337bcb..2b68e352 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/migration/CsvDataImport.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/migration/CsvDataImport.java @@ -343,14 +343,6 @@ class Columns { int indexOf(final String columnName) { return columnNames.indexOf(columnName); } - - int indexOfOrFail(final String columnName) { - int index = columnNames.indexOf(columnName); - if (index < 0) { - throw new RuntimeException("column name '" + columnName + "' not found in: " + columnNames); - } - return index; - } } class Record {