VarInt: make value member private

This commit is contained in:
Sean Gilligan 2022-06-13 17:15:52 -07:00 committed by Andreas Schildbach
parent 7e1be32369
commit 6671bc01c6

View File

@ -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;
/**