]> source.dussan.org Git - jgit.git/commit
PackIndex: Make it an interface 74/1194474/3
authorIvan Frade <ifrade@google.com>
Thu, 28 Mar 2024 22:11:05 +0000 (15:11 -0700)
committerIvan Frade <ifrade@google.com>
Wed, 8 May 2024 20:25:35 +0000 (13:25 -0700)
commit9d5555d3c269a4b537e47c43e4f7ea51b5375f86
tree5d39dbf3fb454fef8b7a5a6797ee1983db39b898
parent0647785eb22c2547d2ea2a5afe17cdb7082a2952
PackIndex: Make it an interface

As we work on different backends for PackIndex, it is much easier to
extend an interface than an abstract class.

Note that PackIndex is alredy acting as an interface, offering barely
any functionality.

Change-Id: Icd0db0e96a097631c2b9c3b05e5700f601f606d5
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackIndex.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackIndexV1.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackIndexV2.java