-
Notifications
You must be signed in to change notification settings - Fork 480
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
VolumePermissionEnricher : Replace iteration with bulk Collection.addAll
call
#1362
Labels
first-timers-only
Is this your first time contributing? This could be a good place to start!
good first issue
Good for newcomers
Comments
rohanKanojia
added
good first issue
Good for newcomers
first-timers-only
Is this your first time contributing? This could be a good place to start!
labels
Mar 18, 2022
@rohanKanojia can I work on this issue? |
Hey @rohanKanojia I'd like to pick this up |
@Simba-97 : Sorry, I had created this for @Prathamkrishna . He asked me to do it on Gitter channel https://gitter.im/eclipse/jkube |
No problem @rohanKanojia 😄 |
12 tasks
Created the PR, @rohanKanojia lemme know if there's anything else:) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
first-timers-only
Is this your first time contributing? This could be a good place to start!
good first issue
Good for newcomers
Description
We seem to be having this code in VolumePermissionEnricher:
https://github.com/eclipse/jkube/blob/d5653eeaedfcda146065e1b674040114ff3be1b0/jkube-kit/enricher/generic/src/main/java/org/eclipse/jkube/enricher/generic/VolumePermissionEnricher.java#L127-L130
Instead of looping over the collection, we can easily replace this with one-liner by using
Collection.addAll
call.The text was updated successfully, but these errors were encountered: