summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2016-10-19 14:00:18 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2016-10-19 15:09:37 +0900
commit9a7d28019a2f31855b538aee785bbc92719f3625 (patch)
treedd21e303866fe20248adc605502b1d5a7acb8251
parent8f9e157cd5093bf8097f0b6defdef530de761e07 (diff)
downloadjgit-9a7d28019a2f31855b538aee785bbc92719f3625.tar.gz
jgit-9a7d28019a2f31855b538aee785bbc92719f3625.zip
FileNameMatcherTest: Use Character.valueOf rather than new Character
Change-Id: I9d6e20a258d34ae1d2700fbe8e6c6e3b0ba94424 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java2
1 files changed, 1 insertions, 1 deletions
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());