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 2020/12/31 17:07:37 UTC
[commons-configuration] branch master updated: Use Character cache.
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
The following commit(s) were added to refs/heads/master by this push:
new 6cb3c8a Use Character cache.
6cb3c8a is described below
commit 6cb3c8a1934b2a57909f63f2a8cf21d874008983
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Dec 31 12:07:32 2020 -0500
Use Character cache.
---
.../commons/configuration2/beanutils/TestConfigurationDynaBean.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/configuration2/beanutils/TestConfigurationDynaBean.java b/src/test/java/org/apache/commons/configuration2/beanutils/TestConfigurationDynaBean.java
index 2bd4984..71cdd98 100644
--- a/src/test/java/org/apache/commons/configuration2/beanutils/TestConfigurationDynaBean.java
+++ b/src/test/java/org/apache/commons/configuration2/beanutils/TestConfigurationDynaBean.java
@@ -86,7 +86,7 @@ public class TestConfigurationDynaBean
new Short(Short.MAX_VALUE),
"This is a string",
new Byte(Byte.MAX_VALUE),
- new Character(Character.MAX_VALUE)
+ Character.valueOf(Character.MAX_VALUE)
};
int[] intArray = {0, 10, 20, 30, 40};