Fix javadoc link errors.

This commit is contained in:
Carsten Otto
2015-07-04 17:29:18 +02:00
committed by Andreas Schildbach
parent 2e4fde0991
commit daace1dec1
14 changed files with 26 additions and 22 deletions

View File

@@ -38,8 +38,8 @@ public class BlockChain extends AbstractBlockChain {
/**
* <p>Constructs a BlockChain connected to the given wallet and store. To obtain a {@link Wallet} you can construct
* one from scratch, or you can deserialize a saved wallet from disk using {@link Wallet#loadFromFile(java.io.File)}
* </p>
* one from scratch, or you can deserialize a saved wallet from disk using
* {@link Wallet#loadFromFile(java.io.File, WalletExtension...)}</p>
*
* <p>For the store, you should use {@link org.bitcoinj.store.SPVBlockStore} or you could also try a
* {@link org.bitcoinj.store.MemoryBlockStore} if you want to hold all headers in RAM and don't care about

View File

@@ -57,7 +57,8 @@ public class FullPrunedBlockChain extends AbstractBlockChain {
/**
* Constructs a block chain connected to the given wallet and store. To obtain a {@link Wallet} you can construct
* one from scratch, or you can deserialize a saved wallet from disk using {@link Wallet#loadFromFile(java.io.File)}
* one from scratch, or you can deserialize a saved wallet from disk using
* {@link Wallet#loadFromFile(java.io.File, WalletExtension...)}
*/
public FullPrunedBlockChain(Context context, Wallet wallet, FullPrunedBlockStore blockStore) throws BlockStoreException {
this(context, new ArrayList<BlockChainListener>(), blockStore);
@@ -66,7 +67,8 @@ public class FullPrunedBlockChain extends AbstractBlockChain {
/**
* Constructs a block chain connected to the given wallet and store. To obtain a {@link Wallet} you can construct
* one from scratch, or you can deserialize a saved wallet from disk using {@link Wallet#loadFromFile(java.io.File)}
* one from scratch, or you can deserialize a saved wallet from disk using
* {@link Wallet#loadFromFile(java.io.File, WalletExtension...)}
*/
public FullPrunedBlockChain(NetworkParameters params, Wallet wallet, FullPrunedBlockStore blockStore) throws BlockStoreException {
this(Context.getOrCreate(params), wallet, blockStore);

View File

@@ -2555,7 +2555,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
/**
* Prepares the wallet for a blockchain replay. Removes all transactions (as they would get in the way of the
* replay) and makes the wallet think it has never seen a block. {@link WalletEventListener#onWalletChanged()} will
* replay) and makes the wallet think it has never seen a block. {@link WalletEventListener#onWalletChanged} will
* be fired.
*/
public void reset() {

View File

@@ -20,7 +20,7 @@ import com.google.common.primitives.Ints;
/**
* <p>This is just a wrapper for the i (child number) as per BIP 32 with a boolean getter for the most significant bit
* and a getter for the actual 0-based child number. A {@link List} of these forms a <i>path</i> through a
* and a getter for the actual 0-based child number. A {@link java.util.List} of these forms a <i>path</i> through a
* {@link DeterministicHierarchy}. This class is immutable.
*/
public class ChildNumber implements Comparable<ChildNumber> {

View File

@@ -1,7 +1,7 @@
package org.bitcoinj.crypto;
/**
* <p>Exception to provide the following to {@link EncrypterDecrypterOpenSSL}:</p>
* <p>Exception to provide the following:</p>
* <ul>
* <li>Provision of encryption / decryption exception</li>
* </ul>

View File

@@ -162,7 +162,9 @@ public class PaymentChannelClientConnection {
* an error before the channel has reached the open state.</p>
*
* <p>After this future completes successfully, you may call
* {@link PaymentChannelClientConnection#incrementPayment(Coin)} or {@link PaymentChannelClientConnection#incrementPayment(Coin, com.google.protobuf.ByteString)} to begin paying the server.</p>
* {@link PaymentChannelClientConnection#incrementPayment(Coin)} or
* {@link PaymentChannelClientConnection#incrementPayment(Coin, com.google.protobuf.ByteString, KeyParameter)} to
* begin paying the server.</p>
*/
public ListenableFuture<PaymentChannelClientConnection> getChannelOpenFuture() {
return channelOpenFuture;

View File

@@ -539,8 +539,8 @@ public class WalletProtobufSerializer {
/**
* Returns the loaded protocol buffer from the given byte stream. You normally want
* {@link Wallet#loadFromFile(java.io.File)} instead - this method is designed for low level work involving the
* wallet file format itself.
* {@link Wallet#loadFromFile(java.io.File, WalletExtension...)} instead - this method is designed for low level
* work involving the wallet file format itself.
*/
public static Protos.Wallet parseToProto(InputStream input) throws IOException {
CodedInputStream codedInput = CodedInputStream.newInstance(input);

View File

@@ -93,8 +93,8 @@ public class BitcoinURI {
public static final String FIELD_PAYMENT_REQUEST_URL = "r";
/**
* URI for Bitcoin network. Use {@link org.bitcoinj.params.AbstractBitcoinNetParams.BITCOIN_SCHEME} if you specifically
* need Bitcoin, or use {@link org.bitcoinj.core.NetworkParams.getUriScheme()} to get the scheme
* URI for Bitcoin network. Use {@link org.bitcoinj.params.AbstractBitcoinNetParams#BITCOIN_SCHEME} if you specifically
* need Bitcoin, or use {@link org.bitcoinj.core.NetworkParameters#getUriScheme} to get the scheme
* from network parameters.
*/
@Deprecated

View File

@@ -1,7 +1,7 @@
package org.bitcoinj.uri;
/**
* <p>Exception to provide the following to {@link org.multibit.qrcode.BitcoinURI}:</p>
* <p>Exception to provide the following to {@link org.bitcoinj.uri.BitcoinURI}:</p>
* <ul>
* <li>Provision of parsing error messages</li>
* </ul>

View File

@@ -31,7 +31,7 @@ import java.util.List;
*
* <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
* custom pattern using either the {@link BtcFormat.Builder#localizedPattern} or {@link BtcFormat.Builder#localizedPattern()} methods, as described in the documentation for the {@link BtcFormat.Builder}
* custom pattern using either the {@link BtcFormat.Builder#localizedPattern} or {@link BtcFormat.Builder#localizedPattern} methods, as described in the documentation for the {@link BtcFormat.Builder}
* class.<ol>
*
* <p>A more detailed explanation, including examples, is in the documentation for the

View File

@@ -409,7 +409,7 @@ import java.util.regex.Pattern;
* specified by <code>µ฿</code>, <code>u฿</code>, <code>µB⃦</code>, <code>µɃ</code>,
* <code>µBTC</code> or other appropriate permutations of those characters. Additionally, if
* either or both of a custom currency code or symbol is configured using {@link
* BtcFormat.Builder#code()} or {@link BtcFormat.Builder.code()}, then such code or symbol will
* BtcFormat.Builder#code} or {@link BtcFormat.Builder#code}, then such code or symbol will
* be recognized in addition to those recognized by default..
*
* <p>Instances of this class that recognize currency signs will recognize both currency
@@ -1247,7 +1247,7 @@ public abstract class BtcFormat extends Format {
* @param unitCount the number of monetary units to be formatted
* @param scale the denomination of those units as the decimal-place shift from coins
* @param minDecimals the minimum number of fractional decimal places
* @param fractiongroups the sizes of option fractional decimal-place groups
* @param fractionGroups the sizes of option fractional decimal-place groups
*/
private static int calculateFractionPlaces(
BigDecimal unitCount, int scale, int minDecimals, List<Integer> fractionGroups)
@@ -1538,7 +1538,7 @@ public abstract class BtcFormat extends Format {
/** Return a representation of the pattern used by this instance for formatting and
* parsing. The format is similar to, but not the same as the format recognized by the
* {@link Builder.pattern()} and {@link Builder.localizedPattern()} methods. The pattern
* {@link Builder#pattern} and {@link Builder#localizedPattern} methods. The pattern
* returned by this method is localized, any currency signs expressed are literally, and
* optional fractional decimal places are shown grouped in parentheses. */
public String pattern() { synchronized(numberFormat) {

View File

@@ -25,8 +25,8 @@ import org.bitcoinj.core.Monetary;
import com.google.common.math.LongMath;
/**
* Represents a monetary fiat value. It was decided to not fold this into {@link Coin} because of type safety. Fiat
* values always come with an attached currency code.
* Represents a monetary fiat value. It was decided to not fold this into {@link org.bitcoinj.core.Coin} because of type
* safety. Fiat values always come with an attached currency code.
*
* This class is immutable.
*/

View File

@@ -228,7 +228,7 @@ public final class MonetaryFormat {
* Configure currency code for given decimal separator shift. This configuration is not relevant for parsing.
*
* @param codeShift
* decimal separator shift, see {@link #shift()}
* decimal separator shift, see {@link #shift}
* @param code
* currency code
*/
@@ -401,7 +401,7 @@ public final class MonetaryFormat {
}
/**
* Parse a human readable fiat value to a {@link org.bitcoinj.core.Fiat} instance.
* Parse a human readable fiat value to a {@link org.bitcoinj.utils.Fiat} instance.
*
* @throws NumberFormatException
* if the string cannot be parsed for some reason

View File

@@ -34,7 +34,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
public class KeyTimeCoinSelector implements CoinSelector {
private static final Logger log = LoggerFactory.getLogger(KeyTimeCoinSelector.class);
/** A number of inputs chosen to avoid hitting {@link org.bitcoinj.core.Transaction.MAX_STANDARD_TX_SIZE} */
/** A number of inputs chosen to avoid hitting {@link org.bitcoinj.core.Transaction#MAX_STANDARD_TX_SIZE} */
public static final int MAX_SIMULTANEOUS_INPUTS = 600;
private final long unixTimeSeconds;