Make GC.RepoStatistics static

Noticed by error-prone (http://errorprone.info/bugpattern/ClassCanBeStatic).

Change-Id: Ie271e9e789a5bc764a287f7bd2a8c8af297d7d41
This commit is contained in:
Jonathan Nieder 2016-08-26 16:28:43 -07:00
parent c2e2326a43
commit dd2a5a7faf
1 changed files with 1 additions and 1 deletions

View File

@ -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