JavaDoc: Fix references.

This commit is contained in:
Andreas Schildbach
2018-03-11 20:53:42 +01:00
parent 940bf4c1cd
commit 1379b5c07d
3 changed files with 6 additions and 8 deletions

View File

@@ -39,15 +39,13 @@ public class AddressMessage extends Message {
* Contruct a new 'addr' message.
* @param params NetworkParameters object.
* @param offset The location of the first payload byte within the array.
* @param parseRetain Whether to retain the backing byte array for quick reserialization.
* If true and the backing byte array is invalidated due to modification of a field then
* the cached bytes may be repopulated and retained if the message is serialized again in the future.
* @param serializer the serializer to use for this block.
* @param length The length of message if known. Usually this is provided when deserializing of the wire
* as the length will be provided as part of the header. If unknown then set to Message.UNKNOWN_LENGTH
* @throws ProtocolException
*/
AddressMessage(NetworkParameters params, byte[] payload, int offset, MessageSerializer setSerializer, int length) throws ProtocolException {
super(params, payload, offset, setSerializer, length);
AddressMessage(NetworkParameters params, byte[] payload, int offset, MessageSerializer serializer, int length) throws ProtocolException {
super(params, payload, offset, serializer, length);
}
/**

View File

@@ -38,7 +38,7 @@ public interface UTXOProvider {
/**
* Get the height of the chain head.
* @return The chain head height.
* @throws UTXOProvider If there is an error.
* @throws UTXOProviderException If there is an error.
*/
int getChainHeadHeight() throws UTXOProviderException;

View File

@@ -803,7 +803,7 @@ public class Script {
/**
* Cast a script chunk to a BigInteger.
*
* @see #castToBigInteger(byte[], int) for values with different maximum
* @see #castToBigInteger(byte[], int, boolean) for values with different maximum
* sizes.
* @throws ScriptException if the chunk is longer than 4 bytes.
*/
@@ -815,7 +815,7 @@ public class Script {
/**
* Cast a script chunk to a BigInteger. Normally you would want
* {@link #castToBigInteger(byte[])} instead, this is only for cases where
* {@link #castToBigInteger(byte[], boolean)} instead, this is only for cases where
* the normal maximum length does not apply (i.e. CHECKLOCKTIMEVERIFY).
*
* @param maxLength the maximum length in bytes.