From: Robert Varga Date: Sat, 13 Feb 2016 21:32:40 +0000 (+0100) Subject: Make GetSnapshot final and add a link X-Git-Tag: release/boron~375 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=cde629670ede8b98f66a224902958ec40d835662 Make GetSnapshot final and add a link 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 --- diff --git a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/GetSnapshot.java b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/GetSnapshot.java index f1d05bfca0..d51f93f7ee 100644 --- a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/GetSnapshot.java +++ b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/client/messages/GetSnapshot.java @@ -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() {