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 2024/08/18 12:49:42 UTC
(commons-beanutils) 31/32: Use final
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.X
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
commit 9d6555c617869ad4076d575d86d46767fd56db09
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Aug 18 08:47:38 2024 -0400
Use final
---
.../java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java b/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java
index ab55ef4f..79721599 100644
--- a/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java
+++ b/src/test/java/org/apache/commons/beanutils/DynaBeanMapDecoratorTestCase.java
@@ -220,7 +220,7 @@ public class DynaBeanMapDecoratorTestCase extends TestCase {
final List<String> namesList = new ArrayList<>();
int i = 0;
- for (Entry<Object, Object> entry : set) {
+ for (final Entry<Object, Object> entry : set) {
final String name = (String)entry.getKey();
namesList.add(name);
final Object expectValue = decoratedMap.get(name);