aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2012-12-15 11:57:04 +0100
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2012-12-27 12:08:06 -0500
commita57dd1c1649cb85a2d47690bcea8a6acdc68ce35 (patch)
tree6c846d6dd1ebe008d4eb41650a5e98d4dfbbc30f /org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java
parent04bc9b3ddcaa8f1535d90a2f712706c6c5597cd4 (diff)
downloadjgit-a57dd1c1649cb85a2d47690bcea8a6acdc68ce35.tar.gz
jgit-a57dd1c1649cb85a2d47690bcea8a6acdc68ce35.zip
Declare essentially static methods as static
Change-Id: I83ca25fb569c0dbc36eb374d5437fcf2b65a6f68
Diffstat (limited to 'org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java5
1 files changed, 3 insertions, 2 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 13c8cbef59..ec0724406b 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
@@ -54,7 +54,7 @@ import org.junit.Test;
public class FileNameMatcherTest {
- private void assertMatch(final String pattern, final String input,
+ private static void assertMatch(final String pattern, final String input,
final boolean matchExpected, final boolean appendCanMatchExpected)
throws InvalidPatternException {
final FileNameMatcher matcher = new FileNameMatcher(pattern, null);
@@ -63,7 +63,8 @@ public class FileNameMatcherTest {
assertEquals(appendCanMatchExpected, matcher.canAppendMatch());
}
- private void assertFileNameMatch(final String pattern, final String input,
+ private static void assertFileNameMatch(final String pattern,
+ final String input,
final char excludedCharacter, final boolean matchExpected,
final boolean appendCanMatchExpected)
throws InvalidPatternException {