Cleanup use of deprecated constructs
[netconf.git] / restconf / restconf-nb-rfc8040 / src / main / java / org / opendaylight / restconf / nb / rfc8040 / handlers / SchemaContextHandler.java
index c40bf84c5741673fd5600d3116f48f36e08ccdf9..daeb0c1443e1329748fee3d739dd4ba753770352 100644 (file)
@@ -68,12 +68,6 @@ public class SchemaContextHandler implements SchemaContextListenerHandler, AutoC
         this.domSchemaService = domSchemaService;
     }
 
-    @Deprecated
-    public static SchemaContextHandler newInstance(final TransactionChainHandler transactionChainHandler,
-            final DOMSchemaService domSchemaService) {
-        return new SchemaContextHandler(transactionChainHandler, domSchemaService);
-    }
-
     @PostConstruct
     public void init() {
         listenerRegistration = domSchemaService.registerSchemaContextListener(this);