diff options
author | Anna Papitto <annapapitto@google.com> | 2023-05-30 16:20:54 +0200 |
---|---|---|
committer | Anna Papitto <annapapitto@google.com> | 2023-05-31 10:09:50 +0200 |
commit | 74547f4a68c444b495af014dcfc07df3e09bbc36 (patch) | |
tree | 832a8161a06a5a5bed538c126317fa9a9c75c709 /org.eclipse.jgit/src/org/eclipse/jgit/diff/HistogramDiff.java | |
parent | 181b629f7deea1750b8e5d2160750ed2cef91c3d (diff) | |
download | jgit-74547f4a68c444b495af014dcfc07df3e09bbc36.tar.gz jgit-74547f4a68c444b495af014dcfc07df3e09bbc36.zip |
PackReverseIndex: use static builder instead of constructor
PackReverseIndex instances are created using the constructor directly,
which limits control over the construction logic and refactoring
opportunities for the class itself. These will be needed for a
file-based implementation of the reverse index.
Use a static builder method to create a PackReverseIndex instance using
a pack's forward index.
Change-Id: I4421d907cd61d9ac932df5377e5e28a81679b63f
Signed-off-by: Anna Papitto <annapapitto@google.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/diff/HistogramDiff.java')
0 files changed, 0 insertions, 0 deletions