diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2020-06-05 11:34:49 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2020-06-05 11:40:08 +0900 |
commit | dac6801b47ef7924d6b265800816da1b571e6d70 (patch) | |
tree | eae46e8e88a964006f3b27e9d50e050c8c9b408f /org.eclipse.jgit.http.apache | |
parent | 949ee670c6a0cdb7b0ecaaaa751799148899c709 (diff) | |
download | jgit-dac6801b47ef7924d6b265800816da1b571e6d70.tar.gz jgit-dac6801b47ef7924d6b265800816da1b571e6d70.zip |
ObjectDirectory: Further clean up insertUnpackedObject
- The code to move the file is repeated. Split it out into a
utility method.
- Remove the catch block for AtomicMoveNotSupportedException which
is redundant because it's handled in exactly the same way as the
IOException further down. The only exception we need to explicitly
handle differently in this block is NoSuchFileException.
- Improve the comments.
Change-Id: Ifc5490953ffb25ecd1c48a06289eccb3f19910c6
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.http.apache')
0 files changed, 0 insertions, 0 deletions