mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-10 03:56:11 +00:00
Use final.
This commit is contained in:
parent
09839108e1
commit
3664d88dfa
@ -46,7 +46,7 @@ public class SortedPropertiesTest {
|
||||
}
|
||||
final Iterator<Map.Entry<Object, Object>> entries = sortedProperties.entrySet().iterator();
|
||||
for (char ch = 'A'; ch <= 'Z'; ch++) {
|
||||
Map.Entry<Object, Object> entry = entries.next();
|
||||
final Map.Entry<Object, Object> entry = entries.next();
|
||||
Assert.assertEquals(String.valueOf(ch), entry.getKey());
|
||||
Assert.assertEquals("Value" + ch, entry.getValue());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user