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/03/03 15:23:20 UTC
(commons-configuration) 02/02: 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-configuration.git
commit 48dde31e65a864673c65120af47257df98006edc
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Mar 3 10:23:14 2024 -0500
Use final
---
.../org/apache/commons/configuration2/TestPropertiesConfiguration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/configuration2/TestPropertiesConfiguration.java b/src/test/java/org/apache/commons/configuration2/TestPropertiesConfiguration.java
index 2f3db502..2c03fd46 100644
--- a/src/test/java/org/apache/commons/configuration2/TestPropertiesConfiguration.java
+++ b/src/test/java/org/apache/commons/configuration2/TestPropertiesConfiguration.java
@@ -494,7 +494,7 @@ public class TestPropertiesConfiguration {
@Test
public void testLargeKey() throws Exception {
conf.clear();
- String key = String.join("", Collections.nCopies(10000, "x"));
+ final String key = String.join("", Collections.nCopies(10000, "x"));
final FileHandler handler = new FileHandler(conf);
handler.load(new StringReader(key));