Make GetSnapshot final and add a link 07/34607/5
authorRobert Varga <rovarga@cisco.com>
Sat, 13 Feb 2016 21:32:40 +0000 (22:32 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 15 Feb 2016 10:04:38 +0000 (10:04 +0000)
With a private consructor, this class is really final. Also add a
Javadoc reference to the response message.

Change-Id: I2cf9cf7d4b750597ac2dc122ee9d6412831522bd
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/GetSnapshot.java

index f1d05bfca080ee9fc2f4e1b47c88a9300d7a0d39..d51f93f7eed780e4d5991ae37dce33dadbb98fcd 100644 (file)
@@ -9,11 +9,11 @@ package org.opendaylight.controller.cluster.raft.client.messages;
 
 /**
  * Internal client message to get a snapshot of the current state based on whether or not persistence is
- * enabled. Returns a GetSnapshotReply instance.
+ * enabled. Returns a {@link GetSnapshotReply} instance.
  *
  * @author Thomas Pantelis
  */
-public class GetSnapshot {
+public final class GetSnapshot {
     public static final GetSnapshot INSTANCE = new GetSnapshot();
 
     private GetSnapshot() {