Skip to content

Commit fee56e9

Browse files
committed
Remove dead code
1 parent 5279407 commit fee56e9

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/main/java/org/stdg/ColumnNamesComparator.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,7 @@ public int compare(String colName1, String colName2) {
4545
}
4646

4747
private int findPositionOf(String colName1) {
48-
Integer position = positionByColumnName.get(colName1);
49-
boolean otherDbTypeOrDbTableHasChangedWithLessOrMoreColumns = position == null;
50-
if(otherDbTypeOrDbTableHasChangedWithLessOrMoreColumns) {
51-
return 0;
52-
}
53-
return position;
48+
return positionByColumnName.get(colName1);
5449
}
5550

5651
}

0 commit comments

Comments
 (0)