Add dedup logic during mcf merge#630
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 4 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
Code Review
This pull request updates the graph node merging logic in PipelineUtils.java to improve deduplication and handle a special case for the typeOf property. Specifically, if a default Place type is present alongside other non-default types, the Place type is dropped. A corresponding unit test has been added to verify this behavior. The review feedback suggests a minor improvement to use Collection.removeIf for in-place list modification instead of Java Streams, which simplifies the code and avoids unnecessary overhead.
No description provided.