diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-09-22 13:25:21 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-09-25 22:06:12 +0200 |
commit | f8d91c27361ef094b550269a6a9069b455b44946 (patch) | |
tree | c1ed5713fee123079366f7af28c2cf076996bb8d | |
parent | 298f93e989a0884bea9306fa172fc9af6ff85dbe (diff) | |
download | jgit-f8d91c27361ef094b550269a6a9069b455b44946.tar.gz jgit-f8d91c27361ef094b550269a6a9069b455b44946.zip |
[errorprone] Don't swallow exception
See https://errorprone.info/bugpattern/UnusedException
Change-Id: I01568dfa22adbbaa50191aa2d0a445a3c252b803
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndexV1.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndexV1.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndexV1.java index c77a8eb761..6a47352124 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndexV1.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackReverseIndexV1.java @@ -66,7 +66,7 @@ final class PackReverseIndexV1 implements PackReverseIndex { this.objectCount = Math.toIntExact(objectCount); } catch (ArithmeticException e) { throw new IllegalArgumentException( - JGitText.get().hugeIndexesAreNotSupportedByJgitYet); + JGitText.get().hugeIndexesAreNotSupportedByJgitYet, e); } this.inputStream = inputStream; |