Skip to content

Commit

Permalink
DG-1697: converter logic optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit-at committed Jul 17, 2024
1 parent b32783d commit 541771a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void onEntitiesMutatedPolicy(final EntityMutationResponse entityMutationR
AtlasPerfMetrics.MetricRecorder metricRecorder = RequestContext.get().startMetricRecord("onEntitiesMutatedPolicy");

final List<AtlasEntityHeader> updatedEntities = entityMutationResponse.getUpdatedEntities();
final List<AtlasEntity> entities = updatedEntities.stream().map(entityHeader -> createAtlasEntity(entityHeader, entityByGuid.get(entityHeader.getGuid()))).collect(̵Collectors.toList());
final List<AtlasEntity> entities = updatedEntities.stream().map(entityHeader -> createAtlasEntity(entityHeader, entityByGuid.get(entityHeader.getGuid()))).collect(Collectors.toList());

for (EntityChangeListenerV2 listener : entityChangeListenersV2) {
listener.onEntitiesUpdated(entities, false);
Expand Down

0 comments on commit 541771a

Please sign in to comment.