Commit aabfd2f
committed
Optimize map iteration in CombinedFormatUtils
Modify the loop iterating over `attributeMap` in `formatAttributeMap` to use `entrySet()` rather than `keySet()` followed by `get()`. This eliminates redundant map lookups.1 parent e62ee58 commit aabfd2f
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments