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-collections.git
The following commit(s) were added to refs/heads/master by this push: new 473bb29 Use Character cache. 473bb29 is described below commit 473bb29aea2ac42287a755ac65f0488d11766de8 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Dec 31 12:08:18 2020 -0500 Use Character cache. --- .../apache/commons/collections4/sequence/SequencesComparatorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/collections4/sequence/SequencesComparatorTest.java b/src/test/java/org/apache/commons/collections4/sequence/SequencesComparatorTest.java index 3e07e18..110cb7b 100644 --- a/src/test/java/org/apache/commons/collections4/sequence/SequencesComparatorTest.java +++ b/src/test/java/org/apache/commons/collections4/sequence/SequencesComparatorTest.java @@ -147,7 +147,7 @@ public class SequencesComparatorTest { private List<Character> sequence(final String string) { final List<Character> list = new ArrayList<>(); for (int i = 0; i < string.length(); ++i) { - list.add(new Character(string.charAt(i))); + list.add(Character.valueOf(string.charAt(i))); } return list; }