]> source.dussan.org Git - jgit.git/commitdiff
Make GC.RepoStatistics static 89/79889/1
authorJonathan Nieder <jrn@google.com>
Fri, 26 Aug 2016 23:28:43 +0000 (16:28 -0700)
committerJonathan Nieder <jrn@google.com>
Fri, 26 Aug 2016 23:29:32 +0000 (16:29 -0700)
Noticed by error-prone (http://errorprone.info/bugpattern/ClassCanBeStatic).

Change-Id: Ie271e9e789a5bc764a287f7bd2a8c8af297d7d41

org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java

index 791e04bae6f8c16e538ba400c99dcd233f975a0b..2e8da8fc9bc1be9e92eec218ae2f6559bab5a7a3 100644 (file)
@@ -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