From de5f04fac25c2de04c3c55a20e1f5bcc4b5ef35f Mon Sep 17 00:00:00 2001 From: Meenbeese Date: Mon, 14 Oct 2024 17:51:37 -0400 Subject: [PATCH] Expose bitSize method for the BloomFilter classs --- android/guava/src/com/google/common/hash/BloomFilter.java | 3 +-- guava/src/com/google/common/hash/BloomFilter.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/android/guava/src/com/google/common/hash/BloomFilter.java b/android/guava/src/com/google/common/hash/BloomFilter.java index 3ae6b68c2297..8d321fab4493 100644 --- a/android/guava/src/com/google/common/hash/BloomFilter.java +++ b/android/guava/src/com/google/common/hash/BloomFilter.java @@ -213,8 +213,7 @@ public long approximateElementCount() { } /** Returns the number of bits in the underlying bit array. */ - @VisibleForTesting - long bitSize() { + public long bitSize() { return bits.bitSize(); } diff --git a/guava/src/com/google/common/hash/BloomFilter.java b/guava/src/com/google/common/hash/BloomFilter.java index d9a1c53bee9e..84b63b64d4ce 100644 --- a/guava/src/com/google/common/hash/BloomFilter.java +++ b/guava/src/com/google/common/hash/BloomFilter.java @@ -214,8 +214,7 @@ public long approximateElementCount() { } /** Returns the number of bits in the underlying bit array. */ - @VisibleForTesting - long bitSize() { + public long bitSize() { return bits.bitSize(); }