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 <[email protected]>
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};