aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2023-02-01 16:52:37 -0500
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2023-02-01 16:52:37 -0500
commit8bd960bf2b4f9af2a4dc9f69bb2015d2c568fb1e (patch)
tree659e434da4ccfb4aab44c60b1a31f25f4debaa43 /org.eclipse.jgit
parent97e8b4cc71e3e0f5081e5a426874bdcece972483 (diff)
parent9dfd2ff665e24453500bf823132f4da760617b05 (diff)
downloadjgit-8bd960bf2b4f9af2a4dc9f69bb2015d2c568fb1e.tar.gz
jgit-8bd960bf2b4f9af2a4dc9f69bb2015d2c568fb1e.zip
Merge changes I343cc3cf,I9dedf61b
* changes: Avoid error-prone warning Fix unused exception error-prone warning
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/LooseObjects.java2
1 files changed, 1 insertions, 1 deletions
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 b9af83d24d..326c5f6457 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 @@ class LooseObjects {
// refresh directory to work around NFS caching issue
}
return getSizeWithoutRefresh(curs, id);
- } catch (FileNotFoundException e) {
+ } catch (FileNotFoundException unused) {
if (fileFor(id).exists()) {
throw noFile;
}