From 6671bc01c6d3ad4ec0ad6008fff29a9801c61ef1 Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Mon, 13 Jun 2022 17:15:52 -0700 Subject: [PATCH] VarInt: make `value` member private --- core/src/main/java/org/bitcoinj/core/VarInt.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/main/java/org/bitcoinj/core/VarInt.java b/core/src/main/java/org/bitcoinj/core/VarInt.java index eb671f1b7..0e4c13700 100644 --- a/core/src/main/java/org/bitcoinj/core/VarInt.java +++ b/core/src/main/java/org/bitcoinj/core/VarInt.java @@ -23,9 +23,7 @@ import com.google.common.primitives.Ints; * A variable-length encoded unsigned integer using Satoshi's encoding (a.k.a. "CompactSize"). */ public class VarInt { - /** @deprecated use {{@link #intValue()} or {{@link #longValue()}}} */ - @Deprecated - public final long value; + private final long value; private final int originallyEncodedSize; /**