summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Nieder <jrn@google.com>2016-08-26 16:28:43 -0700
committerJonathan Nieder <jrn@google.com>2016-08-26 16:29:32 -0700
commitdd2a5a7faf66da61957ccf6a5241eef82bc0d2a4 (patch)
treece1f1f080ffb7adee5f54913146429e9953554f5
parentc2e2326a436d02aa94dcc566cbec96df1d0930cb (diff)
downloadjgit-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.java2
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