Fix warnings and javadocs in sal-akka-raft
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / PeerInfo.java
index 3d15d88e38994c4410bd26a601cc9df609be3386..21b56d9a211ab35f56cfa54f866f711ac871e75e 100644 (file)
@@ -17,6 +17,13 @@ public class PeerInfo {
     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;