diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreRule.java b/org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreRule.java index ac3ec66ee..b43b1118a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreRule.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreRule.java @@ -105,7 +105,7 @@ public class IgnoreRule { if (pattern.contains("*") || pattern.contains("?") || pattern.contains("[")) { try { - matcher = new FileNameMatcher(pattern, new Character('/')); + matcher = new FileNameMatcher(pattern, Character.valueOf('/')); } catch (InvalidPatternException e) { e.printStackTrace(); }