aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java
diff options
context:
space:
mode:
authorJonathan Nieder <jrn@google.com>2015-11-03 23:20:14 -0800
committerJonathan Nieder <jrn@google.com>2015-11-05 12:39:57 -0800
commit73474466ebcccbeeef21461f0df5839569151c29 (patch)
tree8bbacbcbe3daafff6553b194cc934b12389248a0 /org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java
parentf523f21e599f47a09dacb9bd93b2c9f979faeb61 (diff)
downloadjgit-73474466ebcccbeeef21461f0df5839569151c29.tar.gz
jgit-73474466ebcccbeeef21461f0df5839569151c29.zip
Make BitmapBuilder.getBitmapIndex public
Every Bitmap in current JGit code has an associated BitmapIndex. Make it public in BitmapBuilder to make retrieving bitmaps to OR in from that index easier. Change-Id: I2773aa94d8b67f12194608e6317c0792a5de21e2
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java
index a4b4b6ef25..037d3fd2a9 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/BitmapIndex.java
@@ -204,5 +204,12 @@ public interface BitmapIndex {
/** @return the number of elements in the bitmap. */
int cardinality();
+
+ /**
+ * The BitmapIndex for this BitmapBuilder.
+ *
+ * @since 4.2
+ */
+ BitmapIndex getBitmapIndex();
}
}