diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-12-15 11:57:04 +0100 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2012-12-27 12:08:06 -0500 |
commit | a57dd1c1649cb85a2d47690bcea8a6acdc68ce35 (patch) | |
tree | 6c846d6dd1ebe008d4eb41650a5e98d4dfbbc30f /org.eclipse.jgit.http.test | |
parent | 04bc9b3ddcaa8f1535d90a2f712706c6c5597cd4 (diff) | |
download | jgit-a57dd1c1649cb85a2d47690bcea8a6acdc68ce35.tar.gz jgit-a57dd1c1649cb85a2d47690bcea8a6acdc68ce35.zip |
Declare essentially static methods as static
Change-Id: I83ca25fb569c0dbc36eb374d5437fcf2b65a6f68
Diffstat (limited to 'org.eclipse.jgit.http.test')
-rw-r--r-- | org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java | 2 | ||||
-rw-r--r-- | org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java index cafb9590e1..8d0ba964c6 100644 --- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java +++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/FileResolverTest.java @@ -81,7 +81,7 @@ public class FileResolverTest extends LocalDiskRepositoryTestCase { assertUnreasonable("C:/windows"); } - private void assertUnreasonable(String name) + private static void assertUnreasonable(String name) throws ServiceNotEnabledException { FileResolver<RepositoryResolver> r = new FileResolver<RepositoryResolver>( new File("."), false); diff --git a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java index 22b1025cc8..b62ed7fabe 100644 --- a/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java +++ b/org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/ProtocolErrorTest.java @@ -176,7 +176,7 @@ public class ProtocolErrorTest extends HttpTestCase { } } - private void packHeader(ByteArrayOutputStream tinyPack, int cnt) + private static void packHeader(ByteArrayOutputStream tinyPack, int cnt) throws IOException { final byte[] hdr = new byte[8]; NB.encodeInt32(hdr, 0, 2); |