From a57dd1c1649cb85a2d47690bcea8a6acdc68ce35 Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sat, 15 Dec 2012 11:57:04 +0100 Subject: Declare essentially static methods as static Change-Id: I83ca25fb569c0dbc36eb374d5437fcf2b65a6f68 --- .../tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'org.eclipse.jgit.test/tst/org/eclipse/jgit/fnmatch/FileNameMatcherTest.java') 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 { -- cgit v1.2.3