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>
This commit is contained in:
Chris Price 2015-07-07 12:43:56 +01:00 committed by Christian Halstrick
parent e7d86e1939
commit ad16eaac6e
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ public void setUp() throws Exception {
* @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();