[MINOR] Idiomatic naming (#100)

* Enable passing tests (#99)

* claridy docs

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
S. Matthew English 6 years ago committed by GitHub
parent 4954482614
commit ebd6c0105f
  1. 6
      ethereum/p2p/src/main/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/PeerTable.java

@ -90,8 +90,8 @@ public class PeerTable {
}
/**
* Attempts to add the provided peer to the peer table, and returns a struct signalling one of
* three outcomes.
* Attempts to add the provided peer to the peer table, and returns an {@link AddResult}
* signalling one of three outcomes.
*
* <h3>Possible outcomes:</h3>
*
@ -235,7 +235,7 @@ public class PeerTable {
return distance;
}
/** A struct that encapsulates the result of a peer addition to the table. */
/** A class that encapsulates the result of a peer addition to the table. */
public static class AddResult {
/** The outcome of the operation. */
public enum Outcome {

Loading…
Cancel
Save