Skip to content

Commit ae3f7f1

Browse files
removed unused parameter
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 6386f7c commit ae3f7f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdm/src/main/java/com/sap/cds/sdm/service/handler/SDMServiceGenericHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ public void handleDraftDiscardForLinks(DraftCancelEventContext context) throws I
121121
String attachmentCompositionDefinition = entry.getKey();
122122
revertLinksForComposition(context, parentKeys, attachmentCompositionDefinition);
123123
}
124-
revertNestedEntityLinks(context, parentKeys.get("ID"));
124+
revertNestedEntityLinks(context);
125125
}
126126

127-
private void revertNestedEntityLinks(DraftCancelEventContext context, Object parentId)
127+
private void revertNestedEntityLinks(DraftCancelEventContext context)
128128
throws IOException {
129129

130130
CdsEntity parentDraftEntity = context.getTarget();

0 commit comments

Comments
 (0)