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

Use Collections.addAll() instead of adding elements individually #625

Closed
wants to merge 1 commit into from

Conversation

mkordas
Copy link
Contributor

@mkordas mkordas commented Feb 8, 2015

As per javadoc, Collections.addAll() may be significantly faster than adding elements individually using a for loop.

As per javadoc, `Collections.addAll()` may be significantly faster than adding elements individually using a for loop.
@coveralls
Copy link

Coverage Status

Coverage increased (+1.11%) to 91.64% when pulling 7966a3c on mkordas:add_all into 88696d3 on checkstyle:master.

@romani
Copy link
Member

romani commented Feb 8, 2015

thanks a lot !

merged as FF

@romani romani closed this Feb 8, 2015
@mkordas mkordas deleted the add_all branch February 12, 2015 16:14
baratali added a commit to baratali/checkstyle that referenced this pull request Mar 14, 2016
baratali added a commit to baratali/checkstyle that referenced this pull request Mar 16, 2016
baratali added a commit to baratali/checkstyle that referenced this pull request Mar 16, 2016
romani pushed a commit that referenced this pull request Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants