Skip to content

Commit 63c56d1

Browse files
committed
MLH-1224 Avoid multiple calls to EntityMutationResponse
1 parent 0fac334 commit 63c56d1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -597,12 +597,6 @@ public EntityMutationResponse mapAttributesAndClassifications(EntityMutationCont
597597
resp.addEntity(updateType, entity);
598598
}
599599

600-
if (req.getRestoredEntities() != null && req.getRestoredEntities().size() > 0) {
601-
for (AtlasEntityHeader entity : req.getRestoredEntities()) {
602-
resp.addEntity(UPDATE, entity);
603-
}
604-
}
605-
606600
RequestContext.get().endMetricRecord(metric);
607601

608602
return resp;

0 commit comments

Comments
 (0)