Fix findbugs violations in md-sal - part 2
[controller.git] / opendaylight / md-sal / sal-akka-raft-example / src / main / java / org / opendaylight / controller / cluster / example / ExampleActor.java
index 11278ede10012698b4bc1950be1bd0d76f61291a..a1916f15002113c2e3a900b7b7be6cfa22c8b35c 100644 (file)
@@ -151,7 +151,7 @@ public class ExampleActor extends RaftActor implements RaftActorRecoveryCohort,
         state.putAll(((MapState)snapshotState).state);
 
         if (LOG.isDebugEnabled()) {
-            LOG.debug("Snapshot applied to state : {}", ((HashMap<?, ?>) state).size());
+            LOG.debug("Snapshot applied to state : {}", state.size());
         }
     }