[errorprone] RawParseUtils@parseHexInt64: suppress IntLongMath
see https://errorprone.info/bugpattern/IntLongMath Change-Id: I71acd5eec252b8c43d7c411f513e502694830727
This commit is contained in:
parent
978cbb84c4
commit
a17e05437b
|
@ -354,6 +354,7 @@ public static final int parseHexInt32(final byte[] bs, final int p) {
|
||||||
* if the string is not hex formatted.
|
* if the string is not hex formatted.
|
||||||
* @since 4.3
|
* @since 4.3
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("IntLongMath")
|
||||||
public static final long parseHexInt64(final byte[] bs, final int p) {
|
public static final long parseHexInt64(final byte[] bs, final int p) {
|
||||||
long r = digits16[bs[p]] << 4;
|
long r = digits16[bs[p]] << 4;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue