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 2023/07/31 13:23:36 UTC
[commons-dbutils] 15/25: 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-dbutils.git
commit 0d5ef9d61543f11db2d9b0f4e6142fca6e9df2ec
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jul 31 09:07:07 2023 -0400
Use final
---
src/test/java/org/apache/commons/dbutils/BasicRowProcessorTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/test/java/org/apache/commons/dbutils/BasicRowProcessorTest.java b/src/test/java/org/apache/commons/dbutils/BasicRowProcessorTest.java
index 3c71398..e4995e3 100644
--- a/src/test/java/org/apache/commons/dbutils/BasicRowProcessorTest.java
+++ b/src/test/java/org/apache/commons/dbutils/BasicRowProcessorTest.java
@@ -41,11 +41,11 @@ public class BasicRowProcessorTest extends BaseTestCase {
new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", Locale.US);
public void testPutAllContainsKeyAndRemove() throws Exception {
- Map<String, Object> test = new HashMap<>(3);
+ final Map<String, Object> test = new HashMap<>(3);
test.put("fiRst", "thing");
test.put("seCond", "another");
test.put("thIrd", "more");
- Map<String, Object> brpMap = BasicRowProcessor.createCaseInsensitiveHashMap(3);
+ final Map<String, Object> brpMap = BasicRowProcessor.createCaseInsensitiveHashMap(3);
brpMap.putAll(test);
assertEquals(test, brpMap);