diff options
author | Shawn Pearce <spearce@spearce.org> | 2010-10-29 10:43:55 -0400 |
---|---|---|
committer | Code Review <codereview-daemon@eclipse.org> | 2010-10-29 10:43:55 -0400 |
commit | a8140e3c16fb01151b4c58014c481cdab86f1032 (patch) | |
tree | a234fccbfd7a41b2f72e2947362432189e72f971 | |
parent | 68f6c49ee25325b57ec777846614eb51968682cf (diff) | |
parent | b52df1839a58f3398ebf1820d83b2e7282cba3e2 (diff) | |
download | jgit-a8140e3c16fb01151b4c58014c481cdab86f1032.tar.gz jgit-a8140e3c16fb01151b4c58014c481cdab86f1032.zip |
Merge "Use Character.valueOf instead of new Character"
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/ignore/IgnoreRule.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 ac3ec66eed..b43b1118ad 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(); } |