diff options
author | Jonathan Nieder <jrn@google.com> | 2016-08-26 16:28:43 -0700 |
---|---|---|
committer | Jonathan Nieder <jrn@google.com> | 2016-08-26 16:29:32 -0700 |
commit | dd2a5a7faf66da61957ccf6a5241eef82bc0d2a4 (patch) | |
tree | ce1f1f080ffb7adee5f54913146429e9953554f5 | |
parent | c2e2326a436d02aa94dcc566cbec96df1d0930cb (diff) | |
download | jgit-dd2a5a7faf66da61957ccf6a5241eef82bc0d2a4.tar.gz jgit-dd2a5a7faf66da61957ccf6a5241eef82bc0d2a4.zip |
Make GC.RepoStatistics static
Noticed by error-prone (http://errorprone.info/bugpattern/ClassCanBeStatic).
Change-Id: Ie271e9e789a5bc764a287f7bd2a8c8af297d7d41
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java index 791e04bae6..2e8da8fc9b 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java @@ -891,7 +891,7 @@ public class GC { * A class holding statistical data for a FileRepository regarding how many * objects are stored as loose or packed objects */ - public class RepoStatistics { + public static class RepoStatistics { /** * The number of objects stored in pack files. If the same object is * stored in multiple pack files then it is counted as often as it |