Browse Source
PackFile is held by the block cache and cannot be auto closed in a try-with-resources statement. Remove the interface as JGit does explicit management of the instances. ObjectDatabase and RefDatabase are internal details of Repository and are managed with the Repository. Marking them AutoCloseable provides no value to the library or an application using the API. Change-Id: Ibee19eadd66233e6666b601583daa1834a7778f1stable-4.0
Shawn Pearce
10 years ago
4 changed files with 4 additions and 5 deletions
Loading…
Reference in new issue