Skip to content

Commit

Permalink
JavaDoc: Remove unnecessary {@inheritdoc}.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schildbach authored and schildbach committed Mar 11, 2018
1 parent 5b008f9 commit df1b954
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 19 deletions.
6 changes: 0 additions & 6 deletions core/src/main/java/org/bitcoinj/core/SegwitAddress.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ public byte[] getWitnessProgram() {
return convertBits(bytes, 1, bytes.length - 1, 5, 8, false);
}

/**
* {@inheritDoc}
*/
@Override
public byte[] getHash() {
return getWitnessProgram();
Expand All @@ -150,9 +147,6 @@ public ScriptType getOutputScriptType() {
throw new IllegalStateException("Cannot happen.");
}

/**
* {@inheritDoc}
*/
@Override
public String toString() {
return toBech32();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ public boolean isPubKeyOnly() {
return super.isPubKeyOnly() && (parent == null || parent.isPubKeyOnly());
}

/** {@inheritDoc} */
@Override
public boolean hasPrivKey() {
return findParentWithPrivKey() != null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,6 @@ private void receiveChannelOpen() throws VerificationException {
conn.channelOpen(wasInitiated);
}

/**
* {@inheritDoc}
*/
@Override
public void receiveMessage(Protos.TwoWayChannelMessage msg) throws InsufficientMoneyException {
lock.lock();
Expand Down
4 changes: 0 additions & 4 deletions core/src/main/java/org/bitcoinj/utils/BaseTaggableObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
public class BaseTaggableObject implements TaggableObject {
@Nullable protected Map<String, ByteString> tags;

/** {@inheritDoc} */
@Override
@Nullable
public synchronized ByteString maybeGetTag(String tag) {
Expand All @@ -42,7 +41,6 @@ public synchronized ByteString maybeGetTag(String tag) {
return tags.get(tag);
}

/** {@inheritDoc} */
@Override
public ByteString getTag(String tag) {
ByteString b = maybeGetTag(tag);
Expand All @@ -51,7 +49,6 @@ public ByteString getTag(String tag) {
return b;
}

/** {@inheritDoc} */
@Override
public synchronized void setTag(String tag, ByteString value) {
checkNotNull(tag);
Expand All @@ -61,7 +58,6 @@ public synchronized void setTag(String tag, ByteString value) {
tags.put(tag, value);
}

/** {@inheritDoc} */
@Override
public synchronized Map<String, ByteString> getTags() {
if (tags != null)
Expand Down
5 changes: 0 additions & 5 deletions core/src/main/java/org/bitcoinj/wallet/Wallet.java
Original file line number Diff line number Diff line change
Expand Up @@ -1015,13 +1015,11 @@ public boolean hasKey(ECKey key) {
}
}

/** {@inheritDoc} */
@Override
public boolean isPubKeyHashMine(byte[] pubkeyHash) {
return findKeyFromPubHash(pubkeyHash) != null;
}

/** {@inheritDoc} */
@Override
public boolean isWatchedScript(Script script) {
keyChainGroupLock.lock();
Expand All @@ -1047,7 +1045,6 @@ public ECKey findKeyFromPubKey(byte[] pubkey) {
}
}

/** {@inheritDoc} */
@Override
public boolean isPubKeyMine(byte[] pubkey) {
return findKeyFromPubKey(pubkey) != null;
Expand All @@ -1068,7 +1065,6 @@ public RedeemData findRedeemDataFromScriptHash(byte[] payToScriptHash) {
}
}

/** {@inheritDoc} */
@Override
public boolean isPayToScriptHashMine(byte[] payToScriptHash) {
return findRedeemDataFromScriptHash(payToScriptHash) != null;
Expand Down Expand Up @@ -2940,7 +2936,6 @@ public Transaction getTransaction(Sha256Hash hash) {
}
}

/** {@inheritDoc} */
@Override
public Map<Sha256Hash, Transaction> getTransactionPool(Pool pool) {
lock.lock();
Expand Down

0 comments on commit df1b954

Please sign in to comment.