Skip to content

Commit 796aab8

Browse files
fix sonar issue
1 parent 0d5132f commit 796aab8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

sdm/src/main/java/com/sap/cds/sdm/handler/applicationservice/helper/AttachmentsHandlerUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ public static Boolean validateFileNames(
576576
}
577577
if (duplicateFilenames != null && !duplicateFilenames.isEmpty()) {
578578
String formattedMessage =
579-
String.format(SDMConstants.duplicateFilenameFormat(duplicateFilenames) + contextInfo);
579+
String.format(
580+
"%s%s", SDMConstants.duplicateFilenameFormat(duplicateFilenames), contextInfo);
580581
context.getMessages().error(formattedMessage);
581582
isError = true;
582583
}

0 commit comments

Comments
 (0)