Skip to content

Commit 3daa74d

Browse files
committed
MODFQMMGR-746 Simplify migration code slightly
1 parent a78945d commit 3daa74d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/folio/fqm/migration/strategies/AbstractSimpleMigrationStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ protected static String getNewFieldName(Map<String, String> fieldChanges, String
166166
} else if (fieldChanges.containsKey("*")) {
167167
return fieldChanges.get("*").formatted(oldFieldName);
168168
} else {
169-
return fieldChanges.getOrDefault(oldFieldName, oldFieldName);
169+
return oldFieldName;
170170
}
171171
}
172172
}

0 commit comments

Comments
 (0)