Skip to content
Permalink
Browse files
Use final.
  • Loading branch information
garydgregory committed Sep 28, 2021
1 parent 0983910 commit 3664d88dfa66380e02ba4ab65c3feab46e7652f1
Showing 1 changed file with 1 addition and 1 deletion.
@@ -46,7 +46,7 @@ public void testEntrySet() {
}
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());
}

0 comments on commit 3664d88

Please sign in to comment.