Fix CS warnings in sal-clustering-commons and enable enforcement
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / compat / PreLithiumShardTest.java
index 1830523dcebe19b0c4aab98dece5572075e097de..2ad65a28c327e11f5cbb99a4deda0fb65d2110ff 100644 (file)
@@ -38,7 +38,7 @@ public class PreLithiumShardTest extends AbstractShardTest {
         TestActorRef<Shard> shard = TestActorRef.create(getSystem(), newShardProps(),
                 "testApplyHelium2VersionSnapshot");
 
-        NormalizedNodeToNodeCodec codec = new NormalizedNodeToNodeCodec(SCHEMA_CONTEXT);
+        NormalizedNodeToNodeCodec codec = new NormalizedNodeToNodeCodec();
 
         DataTree store = InMemoryDataTreeFactory.getInstance().create(TreeType.OPERATIONAL);
         store.setSchemaContext(SCHEMA_CONTEXT);