Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNG-8331] Mix of the two fixes #1823

Closed
wants to merge 1 commit into from
Closed

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Oct 19, 2024

Don't do anything if not needed.


https://issues.apache.org/jira/browse/MNG-8331

}
}
return modified ? model.withDependencies(newDeps) : model;
return model.withDependencies(newDeps);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

model.withDependencies() will always create a new object if not modified.
I don't see why this would be needed.

@cstamas
Copy link
Member Author

cstamas commented Oct 19, 2024

Closing my "mix" draft to favor one of existing PRs.

@cstamas cstamas closed this Oct 19, 2024
@cstamas cstamas deleted the MNG-8331 branch October 19, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants