Skip to content

Commit 3dd6326

Browse files
fix for finding 'Unread local variable'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent e839117 commit 3dd6326

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

sdm/src/test/java/integration/com/sap/cds/sdm/IntegrationTest_MultipleFacet.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2980,14 +2980,6 @@ void testCopyAttachmentWithSecondaryPropertiesField() throws IOException {
29802980
}
29812981

29822982
// Fetch copied attachment IDs from target draft
2983-
List<Map<String, Object>> copiedMetadataResponse =
2984-
api.fetchEntityMetadata(appUrl, entityName, facetName, copyCustomTargetEntity);
2985-
List<String> copiedAttachmentIds =
2986-
copiedMetadataResponse.stream()
2987-
.map(item -> (String) item.get("ID"))
2988-
.filter(Objects::nonNull)
2989-
.collect(Collectors.toList());
2990-
29912983
String saveTargetResponse =
29922984
api.saveEntityDraft(appUrl, entityName, srvpath, copyCustomTargetEntity);
29932985
if (!saveTargetResponse.equals("Saved")) {

0 commit comments

Comments
 (0)