]> source.dussan.org Git - jgit.git/commitdiff
[errorprone] RawParseUtils@parseHexInt64: suppress IntLongMath 58/204558/6
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 19 Sep 2023 15:04:14 +0000 (17:04 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 25 Sep 2023 14:15:34 +0000 (16:15 +0200)
see https://errorprone.info/bugpattern/IntLongMath

Change-Id: I71acd5eec252b8c43d7c411f513e502694830727

org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java

index 00e55f5bb3e876b67f791be91493d41fa7232ced..71fae815fe197ac2b8eb6fb25b31c1f8946c80ad 100644 (file)
@@ -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;