quelea-projection / Quelea

Open source projection software for churches.
https://quelea.org
GNU General Public License v3.0
154 stars 145 forks source link

Use Collection.addAll instead of loop #570

Closed berry120 closed 1 year ago

berry120 commented 1 year ago

ImageGroupDisplayable.getResources() method uses a loop to add a bunch of File objects to a new ArrayList. Instead of this we could just use Collections.addAll().

suhaas-livcd commented 1 year ago

Hi @berry120 , I would like to work on this issue.

Ashpreetwadhwa commented 1 year ago

hey @berry120 i would like to do this task

berry120 commented 1 year ago

@Ashpreetwadhwa Afraid this one is already assigned.

Ashpreetwadhwa commented 1 year ago

no problem @berry120

suhaas-livcd commented 1 year ago

@berry120

berry120 commented 1 year ago

No need to log the value, and no need for any new comments as the functionality will be identical to the current implementation, just more concise.

suhaas-livcd commented 1 year ago

@berry120 Thank you for the information.

berry120 commented 1 year ago

Thanks!