* delta packed format yielding high compression of lots of object where some
* objects are similar.
*/
-public final class DfsPackFile implements AutoCloseable {
+public final class DfsPackFile {
/**
* File offset used to cache {@link #index} in {@link DfsBlockCache}.
* <p>
* delta packed format yielding high compression of lots of object where some
* objects are similar.
*/
-public class PackFile implements Iterable<PackIndex.MutableEntry>,
- AutoCloseable {
+public class PackFile implements Iterable<PackIndex.MutableEntry> {
/** Sorts PackFiles to be most recently created to least recently created. */
public static final Comparator<PackFile> SORT = new Comparator<PackFile>() {
public int compare(final PackFile a, final PackFile b) {
* An object database stores one or more Git objects, indexed by their unique
* {@link ObjectId}.
*/
-public abstract class ObjectDatabase implements AutoCloseable {
+public abstract class ObjectDatabase {
/** Initialize a new database instance for access. */
protected ObjectDatabase() {
// Protected to force extension.
* Every {@link Repository} has a single reference database, mapping names to
* the tips of the object graph contained by the {@link ObjectDatabase}.
*/
-public abstract class RefDatabase implements AutoCloseable {
+public abstract class RefDatabase {
/**
* Order of prefixes to search when using non-absolute references.
* <p>