]> source.dussan.org Git - jgit.git/commit
DfsInserter: Refactor writePackIndex to use try-with-resource 01/119301/3
authorDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 13 Mar 2018 08:51:10 +0000 (17:51 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Wed, 14 Mar 2018 01:44:23 +0000 (10:44 +0900)
commitbac3efbe67b1e4f86437b654a0ef452590c7441e
tree20c99a8d591958936cf8cc02dd960bdce320ef84
parent6eb4cd276c9cb8b6227c8ecb695106e2c226a2c3
DfsInserter: Refactor writePackIndex to use try-with-resource

Refactor to allow the temporary buffer to be opened in try-with-resource.

Change-Id: Id913e6c3ed3913fd5d79d66238b779e0c225b47d
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsInserter.java