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-6698] Improve the ManagedVersionMap #263

Closed
wants to merge 1 commit into from

Conversation

gnodet
Copy link
Contributor

@gnodet gnodet commented Jun 29, 2019

No description provided.

This map is not used by maven and the computation can be quite heavy, so lazy compute it.  In addition, do not clone the map, as it's an unmodifiable one.
@michael-o
Copy link
Member

While I understand the diff, I don't understand "This map is not used by maven". Who uses this map? Plugins? Other components from our ecosystem?

asfgit pushed a commit that referenced this pull request Jul 6, 2019
This map is not used by Maven and the computation can be quite heavy, so lazily
compute it. In addition, do not clone the map, as it's an unmodifiable one already.

This closes #263
asfgit pushed a commit that referenced this pull request Jul 6, 2019
This map is not used by Maven and the computation can be quite heavy, so lazily
compute it. In addition, do not clone the map, as it's an unmodifiable one already.

This closes #263
@asfgit asfgit closed this in 7ba9700 Jul 6, 2019
@gnodet
Copy link
Contributor Author

gnodet commented Jul 7, 2019

While I understand the diff, I don't understand "This map is not used by maven". Who uses this map? Plugins? Other components from our ecosystem?

Mostly plugins I suppose, what I meant is that maven-core itself does not use it.

@michael-o
Copy link
Member

Alright, that's what I understood.

asfgit pushed a commit that referenced this pull request Jul 12, 2019
This map is not used by Maven and the computation can be quite heavy, so lazily
compute it. In addition, do not clone the map as it's an unmodifiable one already.

This closes #263
gnodet added a commit to gnodet/maven that referenced this pull request Nov 20, 2024
…che#263)


Co-authored-by: Giovanni van der Schelde <Giovanni.vanderSchelde@infosupport.com>
Co-authored-by: Giovanni van der Schelde <gvdschelde@gmail.com>
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