[cleanup] erefactor/EclipseJdt - Convert 'for' loops to enhanced

EclipseJdt cleanup 'ConvertForLoopToEnhanced' applied by erefactor.

For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
This commit is contained in:
cal101 2021-03-14 23:25:27 +00:00
parent 65d60a79fe
commit 1c7284661c

View File

@ -753,8 +753,8 @@ public class Money implements Serializable, Comparable<Money> {
long total = 0;
for (int i = 0; i < ratios.length; i++) {
total += ratios[i];
for (long element : ratios) {
total += element;
}
long remainder = cent;