Browse Source

Merge "[errorprone] Don't throw exception in finally"

next
David Pursehouse 5 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
078500ef1c
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java

2
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);
}
}
}

Loading…
Cancel
Save