Fix odlparent-3.0.0 checkstyle issues
[mdsal.git] / dom / mdsal-dom-inmemory-datastore / src / test / java / org / opendaylight / controller / md / sal / dom / store / impl / TestModel.java
index 8e4cf2b8f7401a553bae3c3b6cc0fd2ef280aa8f..38fd827a5237875ecb7495649d8573f5be89d21c 100644 (file)
@@ -17,7 +17,7 @@ import org.opendaylight.yangtools.yang.model.parser.api.YangSyntaxErrorException
 import org.opendaylight.yangtools.yang.parser.spi.meta.ReactorException;
 import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
 
-public class TestModel {
+public final class TestModel {
 
     public static final QName TEST_QNAME =
             QName.create("urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test", "2014-03-13", "test");
@@ -34,6 +34,10 @@ public class TestModel {
             YangInstanceIdentifier.builder(TEST_PATH).node(OUTER_LIST_QNAME).build();
     private static final String DATASTORE_TEST_YANG = "/odl-datastore-test.yang";
 
+    private TestModel() {
+        throw new UnsupportedOperationException();
+    }
+
     public static SchemaContext createTestContext() throws IOException, YangSyntaxErrorException, ReactorException {
         return YangParserTestUtils.parseYangStreams(Collections.singletonList(getInputStream()));
     }