aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io
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/util/io
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/util/io')
-rw-r--r--org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/EolCanonicalizingInputStreamTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/EolCanonicalizingInputStreamTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/EolCanonicalizingInputStreamTest.java
index bd1524563b..ed2a4f2102 100644
--- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/EolCanonicalizingInputStreamTest.java
+++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/util/io/EolCanonicalizingInputStreamTest.java
@@ -94,7 +94,8 @@ public class EolCanonicalizingInputStreamTest {
test(asBytes("1\r\n2\r\n3\0"), asBytes("1\n2\n3\0"), false);
}
- private void test(byte[] input, byte[] expected, boolean detectBinary) throws IOException {
+ private static void test(byte[] input, byte[] expected,
+ boolean detectBinary) throws IOException {
final InputStream bis1 = new ByteArrayInputStream(input);
final InputStream cis1 = new EolCanonicalizingInputStream(bis1, detectBinary);
int index1 = 0;