Browse Source

Merge "Use Character.valueOf instead of new Character"

stable-0.10
Shawn Pearce 14 years ago committed by Code Review
parent
commit
a8140e3c16
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreRule.java

2
org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreRule.java

@ -105,7 +105,7 @@ public class IgnoreRule {
if (pattern.contains("*") || pattern.contains("?") || pattern.contains("[")) { if (pattern.contains("*") || pattern.contains("?") || pattern.contains("[")) {
try { try {
matcher = new FileNameMatcher(pattern, new Character('/')); matcher = new FileNameMatcher(pattern, Character.valueOf('/'));
} catch (InvalidPatternException e) { } catch (InvalidPatternException e) {
e.printStackTrace(); e.printStackTrace();
} }

Loading…
Cancel
Save