diff options
author | Chris Price <chris@puppetlabs.com> | 2015-07-07 12:43:56 +0100 |
---|---|---|
committer | Christian Halstrick <christian.halstrick@sap.com> | 2015-07-10 00:56:58 +0200 |
commit | ad16eaac6ebc6daa994a6dbdccb687094485c36f (patch) | |
tree | e9d4af2ad9b4645e92a76e71569a9cc22f15b0b7 /org.eclipse.jgit.junit | |
parent | e7d86e1939b97cd0374ae292cd20fe838f6421b8 (diff) | |
download | jgit-ad16eaac6ebc6daa994a6dbdccb687094485c36f.tar.gz jgit-ad16eaac6ebc6daa994a6dbdccb687094485c36f.zip |
Change `indexState` to static method
The `indexState` method is no longer referring to any
member variables from the class, so it can be made static.
Bug: 436200
Change-Id: I013316de5c373417ea758ca6e17da29209fead53
Signed-off-by: Chris Price <chris@puppetlabs.com>
Diffstat (limited to 'org.eclipse.jgit.junit')
-rw-r--r-- | org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java index f9eb7b4eac..17eb6240a0 100644 --- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java +++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/RepositoryTestCase.java @@ -204,7 +204,7 @@ public abstract class RepositoryTestCase extends LocalDiskRepositoryTestCase { * @throws IllegalStateException * @throws IOException */ - public String indexState(Repository repo, int includedOptions) + public static String indexState(Repository repo, int includedOptions) throws IllegalStateException, IOException { DirCache dc = repo.readDirCache(); StringBuilder sb = new StringBuilder(); |