From dd2a5a7faf66da61957ccf6a5241eef82bc0d2a4 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Fri, 26 Aug 2016 16:28:43 -0700 Subject: [PATCH] Make GC.RepoStatistics static Noticed by error-prone (http://errorprone.info/bugpattern/ClassCanBeStatic). Change-Id: Ie271e9e789a5bc764a287f7bd2a8c8af297d7d41 --- .../src/org/eclipse/jgit/internal/storage/file/GC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 791e04bae..2e8da8fc9 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 @@ private File nameFor(String name, String ext) { * 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