Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixup comparison formatting
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
raft
/
PeerInfo.java
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/PeerInfo.java
b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/PeerInfo.java
index 3d15d88e38994c4410bd26a601cc9df609be3386..21b56d9a211ab35f56cfa54f866f711ac871e75e 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/PeerInfo.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/PeerInfo.java
@@
-17,6
+17,13
@@
public class PeerInfo {
private String address;
private VotingState votingState;
private String address;
private VotingState votingState;
+ /**
+ * Constructs an instance.
+ *
+ * @param id the id of the peer.
+ * @param address the address of the peer.
+ * @param votingState the VotingState of the peer.
+ */
public PeerInfo(String id, String address, VotingState votingState) {
this.id = id;
this.address = address;
public PeerInfo(String id, String address, VotingState votingState) {
this.id = id;
this.address = address;