JavaDoc: Remove unnecessary {@inheritDoc}.

This commit is contained in:
Andreas Schildbach
2018-03-11 15:56:30 +01:00
committed by Andreas Schildbach
parent 5b008f90e0
commit df1b954b7b
5 changed files with 0 additions and 19 deletions

View File

@@ -124,9 +124,6 @@ public class SegwitAddress extends Address {
return convertBits(bytes, 1, bytes.length - 1, 5, 8, false);
}
/**
* {@inheritDoc}
*/
@Override
public byte[] getHash() {
return getWitnessProgram();
@@ -150,9 +147,6 @@ public class SegwitAddress extends Address {
throw new IllegalStateException("Cannot happen.");
}
/**
* {@inheritDoc}
*/
@Override
public String toString() {
return toBech32();

View File

@@ -316,7 +316,6 @@ public class DeterministicKey extends ECKey {
return super.isPubKeyOnly() && (parent == null || parent.isPubKeyOnly());
}
/** {@inheritDoc} */
@Override
public boolean hasPrivKey() {
return findParentWithPrivKey() != null;

View File

@@ -407,9 +407,6 @@ public class PaymentChannelClient implements IPaymentChannelClient {
conn.channelOpen(wasInitiated);
}
/**
* {@inheritDoc}
*/
@Override
public void receiveMessage(Protos.TwoWayChannelMessage msg) throws InsufficientMoneyException {
lock.lock();

View File

@@ -32,7 +32,6 @@ import static com.google.common.base.Preconditions.checkNotNull;
public class BaseTaggableObject implements TaggableObject {
@Nullable protected Map<String, ByteString> tags;
/** {@inheritDoc} */
@Override
@Nullable
public synchronized ByteString maybeGetTag(String tag) {
@@ -42,7 +41,6 @@ public class BaseTaggableObject implements TaggableObject {
return tags.get(tag);
}
/** {@inheritDoc} */
@Override
public ByteString getTag(String tag) {
ByteString b = maybeGetTag(tag);
@@ -51,7 +49,6 @@ public class BaseTaggableObject implements TaggableObject {
return b;
}
/** {@inheritDoc} */
@Override
public synchronized void setTag(String tag, ByteString value) {
checkNotNull(tag);
@@ -61,7 +58,6 @@ public class BaseTaggableObject implements TaggableObject {
tags.put(tag, value);
}
/** {@inheritDoc} */
@Override
public synchronized Map<String, ByteString> getTags() {
if (tags != null)

View File

@@ -1015,13 +1015,11 @@ public class Wallet extends BaseTaggableObject
}
}
/** {@inheritDoc} */
@Override
public boolean isPubKeyHashMine(byte[] pubkeyHash) {
return findKeyFromPubHash(pubkeyHash) != null;
}
/** {@inheritDoc} */
@Override
public boolean isWatchedScript(Script script) {
keyChainGroupLock.lock();
@@ -1047,7 +1045,6 @@ public class Wallet extends BaseTaggableObject
}
}
/** {@inheritDoc} */
@Override
public boolean isPubKeyMine(byte[] pubkey) {
return findKeyFromPubKey(pubkey) != null;
@@ -1068,7 +1065,6 @@ public class Wallet extends BaseTaggableObject
}
}
/** {@inheritDoc} */
@Override
public boolean isPayToScriptHashMine(byte[] payToScriptHash) {
return findRedeemDataFromScriptHash(payToScriptHash) != null;
@@ -2940,7 +2936,6 @@ public class Wallet extends BaseTaggableObject
}
}
/** {@inheritDoc} */
@Override
public Map<Sha256Hash, Transaction> getTransactionPool(Pool pool) {
lock.lock();