mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Merge pull request #1480 from cal101/jdt-ConvertForLoopToEnhancedCleanUp
[cleanup] erefactor/EclipseJdt - Convert 'for' loops to enhanced
This commit is contained in:
commit
bfcd96307f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user