Fix Javadoc 80/52080/2
authorRobert Varga <rovarga@cisco.com>
Mon, 20 Feb 2017 15:39:31 +0000 (16:39 +0100)
committerRobert Varga <nite@hq.sk>
Thu, 23 Feb 2017 11:55:22 +0000 (11:55 +0000)
The argument reference was not updated, fix that.

Change-Id: Ib35ed59105c7090291c733725c8a85d384a1a288
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardRecoveryCoordinator.java

index 634b6f6..a916ea6 100644 (file)
@@ -86,7 +86,7 @@ class ShardRecoveryCoordinator implements RaftActorRecoveryCohort {
     /**
      * Applies a recovered snapshot to the data store.
      *
-     * @param snapshotBytes the serialized snapshot
+     * @param snapshotState the serialized snapshot
      */
     @Override
     @SuppressWarnings("checkstyle:IllegalCatch")
@@ -115,7 +115,7 @@ class ShardRecoveryCoordinator implements RaftActorRecoveryCohort {
 
     @Override
     @Deprecated
-    public State deserializePreCarbonSnapshot(byte[] from) {
+    public State deserializePreCarbonSnapshot(final byte[] from) {
         try {
             return new ShardSnapshotState(ShardDataTreeSnapshot.deserializePreCarbon(from));
         } catch (IOException e) {