diff --git a/src/main/java/nl/knaw/dans/dvingest/core/dansbag/DansBagMappingServiceImpl.java b/src/main/java/nl/knaw/dans/dvingest/core/dansbag/DansBagMappingServiceImpl.java index e05cdc6..35d8dc0 100644 --- a/src/main/java/nl/knaw/dans/dvingest/core/dansbag/DansBagMappingServiceImpl.java +++ b/src/main/java/nl/knaw/dans/dvingest/core/dansbag/DansBagMappingServiceImpl.java @@ -140,7 +140,7 @@ public EditFiles getEditFilesFromDansDeposit(Deposit dansDeposit) { pathFileInfoMap = removeIgnoredFiles(pathFileInfoMap, ignoredFiles); - editFiles.setAutoRenameFiles(getRenameAtUpload(pathFileInfoMap)); + editFiles.setAutoRenameFiles(getAutoRenameFiles(pathFileInfoMap)); editFiles.setAddRestrictedFiles(pathFileInfoMap.entrySet().stream() .filter(entry -> entry.getValue().getMetadata().getRestricted()) @@ -163,7 +163,7 @@ public EditFiles getEditFilesFromDansDeposit(Deposit dansDeposit) { return editFiles; } - private List getRenameAtUpload(Map files) { + private List getAutoRenameFiles(Map files) { ArrayList fromTos = new ArrayList<>(); for (var entry : files.entrySet()) { if (entry.getValue().isSanitized()) {