diff --git a/Kitodo/src/main/java/org/kitodo/production/services/file/FileService.java b/Kitodo/src/main/java/org/kitodo/production/services/file/FileService.java index 785a090c513..65ac72fe9d7 100644 --- a/Kitodo/src/main/java/org/kitodo/production/services/file/FileService.java +++ b/Kitodo/src/main/java/org/kitodo/production/services/file/FileService.java @@ -1529,7 +1529,9 @@ public void renameMedia(List processes) { processes = lockAndSortProcessesForRenaming(processes); int limit = ConfigCore.getIntParameterOrDefaultValue(ParameterCore.MAX_NUMBER_OF_PROCESSES_FOR_MEDIA_RENAMING); if (0 < limit && limit < processes.size()) { - throw new TooManyProcessesSelectedException(Helper.getTranslation("tooManyProcessesSelectedForMediaRenaming", String.valueOf(limit), String.valueOf(processes.size()))); + throw new TooManyProcessesSelectedException( + Helper.getTranslation("tooManyProcessesSelectedForMediaRenaming", String.valueOf(limit), + String.valueOf(processes.size()))); } else { TaskManager.addTask(new RenameMediaThread(processes)); }