commit | b30c75be40d34fc844424f8fc5a71eb3fa55b6e0 | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Tue Jan 31 23:24:30 2023 +0100 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Wed Feb 01 10:53:43 2023 +0100 |
tree | 92b22b0c22111d726159da7eff80a2bd42f855b2 | |
parent | 66b871b777c1a58337e80dd03db68bb76b145a93 [diff] |
Fix unused exception error-prone warning Ignoring the exception seems intended in this case. Change-Id: I9dedf61b9cb5a6ff39fb141dd5da19143f4f6978
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LooseObjects.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LooseObjects.java index b9af83d..326c5f6 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LooseObjects.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LooseObjects.java
@@ -254,7 +254,7 @@ // refresh directory to work around NFS caching issue } return getSizeWithoutRefresh(curs, id); - } catch (FileNotFoundException e) { + } catch (FileNotFoundException unused) { if (fileFor(id).exists()) { throw noFile; }