Bug 5740: Remove Serializable where not necessary
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / messages / UnInitializedFollowerSnapshotReply.java
index 50f20705ca2e1d94eb3bf3707f04ed9efbf93149..f5c44f87e4fe687f636a7b9f101b667a228552e7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Dell Systems, Inc. and others.  All rights reserved.
+ * Copyright (c) 2015 Dell Systems, Inc. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -8,16 +8,22 @@
 package org.opendaylight.controller.cluster.raft.messages;
 
 /**
- * Local message sent to self on receiving InstallSnapshotReply from a follower, this message indicates that
- * the catchup of the follower is done succesfully during AddServer scenario
+ * Local message sent to self on receiving the InstallSnapshotReply from a follower indicating that
+ * the catch up of the follower has completed successfully for an AddServer operation.
  */
 public class  UnInitializedFollowerSnapshotReply {
     private final String followerId;
 
-    public UnInitializedFollowerSnapshotReply(String follId){
-       this.followerId = follId;
+    public UnInitializedFollowerSnapshotReply(String followerId) {
+        this.followerId = followerId;
     }
+
     public String getFollowerId() {
         return followerId;
     }
+
+    @Override
+    public String toString() {
+        return "UnInitializedFollowerSnapshotReply [followerId=" + followerId + "]";
+    }
 }