From: Robert Varga Date: Tue, 1 Nov 2016 23:01:41 +0000 (+0100) Subject: Fixup javadoc X-Git-Tag: release/carbon~401 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=b087b867e014d755172740b59e5a3e6ec1cc489d;hp=e7306df260cf6ae438d6622eea3213bbf791c3f8 Fixup javadoc This adds a wee bit more information and corrects a method reference -- it should not be #readResolve, but #writeReplace. Change-Id: I8654960e3cbcaac1bc308a7d93e2e762b284111b Signed-off-by: Robert Varga --- diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/persisted/ShardDataTreeSnapshotMetadata.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/persisted/ShardDataTreeSnapshotMetadata.java index f883a8d358..25cfda0177 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/persisted/ShardDataTreeSnapshotMetadata.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/persisted/ShardDataTreeSnapshotMetadata.java @@ -15,7 +15,8 @@ import javax.annotation.Nonnull; /** * Base class for various bits of metadata attached to a {@link MetadataShardDataTreeSnapshot}. This class is not * an interface because we want to make sure all subclasses implement the externalizable proxy pattern, for which - * we need to force {@link #readResolve()} to be abstract. + * we need to force {@link #writeReplace()} to be abstract. We do that by making it final and exposing a protected + * {@link #externalizableProxy()} method. *

* All concrete subclasses of this class should be final so as to form a distinct set of possible metadata. Since * metadata is serialized along with {@link MetadataShardDataTreeSnapshot}, this set is part of the serialization format