A reoccurring Java fix

Replacing For-Loops with Stream::forEach improves the readability and makes the code more compact. jSparrow has a fix automation for this issue since 2017 and it has been one of the most visited and read-about rules!

Only this summer we received a whooping 9k visits on the rule page through Google search alone. Very impressive!

#java #refactoring #jsparrow #codequality


  • I blog quite often and I genuinely thank you for your information. This great article has truly peaked my interest. I’m going to book mark your site and keep checking for new information about once per week. I subscribed to your Feed too.

  • קמגרה says:

    Everything is very open with a precise clarification of the challenges. It was really informative. Your website is useful. Thanks for sharing!

Leave a Reply

Your email address will not be published.