From 9a7d28019a2f31855b538aee785bbc92719f3625 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 19 Oct 2016 14:00:18 +0900 Subject: FileNameMatcherTest: Use Character.valueOf rather than new Character Change-Id: I9d6e20a258d34ae1d2700fbe8e6c6e3b0ba94424 Signed-off-by: David Pursehouse --- .../tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org.eclipse.jgit.test/tst/org/eclipse/jgit') diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java index 1db6c80304..ba785911b1 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java @@ -69,7 +69,7 @@ public class FileNameMatcherTest { final boolean appendCanMatchExpected) throws InvalidPatternException { final FileNameMatcher matcher = new FileNameMatcher(pattern, - new Character(excludedCharacter)); + Character.valueOf(excludedCharacter)); matcher.append(input); assertEquals(matchExpected, matcher.isMatch()); assertEquals(appendCanMatchExpected, matcher.canAppendMatch()); -- cgit v1.2.3