You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/09/28 14:09:30 UTC
[commons-collections] branch master updated: Use final.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 3664d88 Use final.
3664d88 is described below
commit 3664d88dfa66380e02ba4ab65c3feab46e7652f1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Sep 28 10:09:28 2021 -0400
Use final.
---
.../apache/commons/collections4/properties/SortedPropertiesTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/collections4/properties/SortedPropertiesTest.java b/src/test/java/org/apache/commons/collections4/properties/SortedPropertiesTest.java
index cb7d5be..26a095a 100644
--- a/src/test/java/org/apache/commons/collections4/properties/SortedPropertiesTest.java
+++ b/src/test/java/org/apache/commons/collections4/properties/SortedPropertiesTest.java
@@ -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());
}