Browse Source

Make GC.RepoStatistics static

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

Change-Id: Ie271e9e789a5bc764a287f7bd2a8c8af297d7d41
stable-4.5
Jonathan Nieder 8 years ago
parent
commit
dd2a5a7faf
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java

2
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 * A class holding statistical data for a FileRepository regarding how many
* objects are stored as loose or packed objects * 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 * 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 * stored in multiple pack files then it is counted as often as it

Loading…
Cancel
Save