diff --git a/core/java/src/net/i2p/util/DecayingBloomFilter.java b/core/java/src/net/i2p/util/DecayingBloomFilter.java index f54b08f44..7f006a8b9 100644 --- a/core/java/src/net/i2p/util/DecayingBloomFilter.java +++ b/core/java/src/net/i2p/util/DecayingBloomFilter.java @@ -17,6 +17,8 @@ import org.xlattice.crypto.filters.BloomSHA1; * this may be refactored to allow tighter control of the size necessary for the * contained bloom filters. * + * Deprecated for use outside of the router; to be moved to router.jar. + * * See main() for an analysis of false positive rate. * See BloomFilterIVValidator for instantiation parameters. * See DecayingHashSet for a smaller and simpler version. diff --git a/core/java/src/net/i2p/util/DecayingHashSet.java b/core/java/src/net/i2p/util/DecayingHashSet.java index d513ce057..4c6b8c18c 100644 --- a/core/java/src/net/i2p/util/DecayingHashSet.java +++ b/core/java/src/net/i2p/util/DecayingHashSet.java @@ -55,6 +55,8 @@ import net.i2p.data.DataHelper; * * This performs about twice as fast as DBF in the test below. * + * Deprecated for use outside of the router; to be moved to router.jar. + * * @author zzz */ public class DecayingHashSet extends DecayingBloomFilter { diff --git a/core/java/src/org/xlattice/crypto/filters/BloomSHA1.java b/core/java/src/org/xlattice/crypto/filters/BloomSHA1.java index f9d2986b5..d0ccc22e4 100644 --- a/core/java/src/org/xlattice/crypto/filters/BloomSHA1.java +++ b/core/java/src/org/xlattice/crypto/filters/BloomSHA1.java @@ -37,6 +37,7 @@ import java.util.concurrent.LinkedBlockingQueue; * * Note that this is used only by DecayingBloomFilter, which uses only * the unsynchronized locked_foo() methods. + * Deprecated for use outside of the router; to be moved to router.jar. * * As of 0.8.11, the locked_foo() methods are thread-safe, in that they work, * but there is a minor risk of false-negatives if two threads are