DnsDiscovery, BtcFixedFormat: fix some JavaDoc links

This commit is contained in:
Andreas Schildbach 2023-08-09 16:45:03 +02:00
parent 1e4b633161
commit 041f394a8a
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ import java.util.concurrent.Executors;
* However, if all hosts passed fail to resolve a PeerDiscoveryException will be thrown during getPeers(). * However, if all hosts passed fail to resolve a PeerDiscoveryException will be thrown during getPeers().
* </p> * </p>
* *
* <p>DNS seeds do not attempt to enumerate every peer on the network. {@link DnsDiscovery#getPeers(long, long, TimeUnit)} * <p>DNS seeds do not attempt to enumerate every peer on the network. {@link DnsDiscovery#getPeers(long, Duration)}
* will return up to 30 random peers from the set of those returned within the timeout period. If you want more peers * will return up to 30 random peers from the set of those returned within the timeout period. If you want more peers
* to connect to, you need to discover them via other means (like addr broadcasts).</p> * to connect to, you need to discover them via other means (like addr broadcasts).</p>
*/ */

View File

@ -36,8 +36,8 @@ import static org.bitcoinj.base.internal.Preconditions.checkArgument;
* *
* <p>By default, neither currency codes nor symbols are included in formatted values as * <p>By default, neither currency codes nor symbols are included in formatted values as
* output, nor recognized in parsed values as input. The can be overridden by applying a * output, nor recognized in parsed values as input. The can be overridden by applying a
* custom pattern using either the {@link BtcFormat.Builder#localizedPattern} or * custom pattern using either the {@link BtcFormat.Builder#localizedPattern(String)} or
* {@link BtcFormat.Builder#localizedPattern} methods, as described in the documentation for * {@link BtcFormat.Builder#localizedPattern(String)} methods, as described in the documentation for
* the {@link BtcFormat.Builder} class.</p> * the {@link BtcFormat.Builder} class.</p>
* *
* <p>A more detailed explanation, including examples, is in the documentation for the * <p>A more detailed explanation, including examples, is in the documentation for the