aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/util
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2023-09-19 17:04:14 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2023-09-25 16:15:34 +0200
commita17e05437b0251c4c00b7cbc712d99d68908e122 (patch)
tree80a9dbf9a953e790cdd9a6ea786665fc2ba20d18 /org.eclipse.jgit/src/org/eclipse/jgit/util
parent978cbb84c4b93a871a9c5499a74b54fac6c96c65 (diff)
downloadjgit-a17e05437b0251c4c00b7cbc712d99d68908e122.tar.gz
jgit-a17e05437b0251c4c00b7cbc712d99d68908e122.zip
[errorprone] RawParseUtils@parseHexInt64: suppress IntLongMath
see https://errorprone.info/bugpattern/IntLongMath Change-Id: I71acd5eec252b8c43d7c411f513e502694830727
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java
index 00e55f5bb3..71fae815fe 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java
@@ -354,6 +354,7 @@ public final class RawParseUtils {
* if the string is not hex formatted.
* @since 4.3
*/
+ @SuppressWarnings("IntLongMath")
public static final long parseHexInt64(final byte[] bs, final int p) {
long r = digits16[bs[p]] << 4;