From ee9ee93aae951dc33559ad5926f48b3f6cbae9fc Mon Sep 17 00:00:00 2001 From: "S. Matthew English" Date: Fri, 19 Oct 2018 02:26:23 -0400 Subject: [PATCH] [MINOR] Idiomatic naming (#100) * Enable passing tests (#99) * claridy docs --- .../pantheon/ethereum/p2p/discovery/internal/PeerTable.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ethereum/p2p/src/main/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/PeerTable.java b/ethereum/p2p/src/main/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/PeerTable.java index 9a14f978c7..1f7981331d 100644 --- a/ethereum/p2p/src/main/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/PeerTable.java +++ b/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. * *

Possible outcomes:

* @@ -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 {