diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2019-10-25 21:56:06 -0400 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2019-10-25 21:56:06 -0400 |
commit | 078500ef1c28bfd4a19cafe889f485d7861b7518 (patch) | |
tree | cc5aa67304dd2f23aa54a533ebea8f3821d1bc67 | |
parent | 66aa2cc30c0cb20c8634e24baae872647d78e1d8 (diff) | |
parent | 5625f70d2573d22ee482e0efdc657c72258d8be7 (diff) | |
download | jgit-078500ef1c28bfd4a19cafe889f485d7861b7518.tar.gz jgit-078500ef1c28bfd4a19cafe889f485d7861b7518.zip |
Merge "[errorprone] Don't throw exception in finally"
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java index b0c6f96411..2035ada809 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java @@ -844,7 +844,7 @@ public abstract class FS { try { FileUtils.delete(tempFile); } catch (IOException e) { - throw new RuntimeException(e); // panic + LOG.error(JGitText.get().cannotDeleteFile, tempFile); } } } |