Replace for and while loops with foeach loops#421
Conversation
This increases the overall readability of the code, and has been supported since Java 5.
Codecov Report
@@ Coverage Diff @@
## dev #421 +/- ##
===========================================
+ Coverage 45.92% 46% +0.08%
- Complexity 2198 2203 +5
===========================================
Files 108 108
Lines 25210 25193 -17
Branches 4164 4164
===========================================
+ Hits 11577 11591 +14
+ Misses 11711 11677 -34
- Partials 1922 1925 +3
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## dev #421 +/- ##
===========================================
+ Coverage 45.92% 46% +0.08%
- Complexity 2198 2203 +5
===========================================
Files 108 108
Lines 25210 25193 -17
Branches 4164 4164
===========================================
+ Hits 11577 11591 +14
+ Misses 11711 11677 -34
- Partials 1922 1925 +3
Continue to review full report at Codecov.
|
cheenamalhotra
left a comment
There was a problem hiding this comment.
ForEach loops are ideally more efficient way of performing iterations. I don't see any issues with these changes. We shall merge this PR soon.
|
@cheenamalhotra Thanks for the review. Is it possible to merge this now? |
|
Hi @JamieMagee, we'll merge your two PRs with the next preview release (v6.3.2). |
|
Testing was good, merging in. |
This increases the overall readability of the code, and has been supported since Java 5.