Merge "DfsGarbageCollector: provide commit graph stats"
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReader.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReader.java
index 1634406..3f0adcb 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReader.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsReader.java
@@ -839,7 +839,7 @@ public DfsReaderIoStats getIoStats() {
}
/** Announces when data is loaded by reader */
- interface PackLoadListener {
+ protected interface PackLoadListener {
/**
* Immutable copy of a DFS block metadata
*/
@@ -856,11 +856,11 @@ private DfsBlockData(DfsBlock src) {
this.size = src.size();
}
- int getIdentityHash() {
+ public int getIdentityHash() {
return identityHash;
}
- int getSize() {
+ public int getSize() {
return size;
}
}
@@ -900,7 +900,7 @@ void onIndexLoad(String packName, PackSource src, PackExt ext, long size,
* @param ext
* Extension in the pack (e.g. PACK or REFTABLE)
* @param position
- * Block offset being loaded
+ * Offset in the file requested by caller
* @param dfsBlockData
* Metadata of the block
*/