BUG-865: deprecate SchemaContextHolder 02/32002/2
authorRobert Varga <robert.varga@pantheon.sk>
Sat, 2 Jan 2016 13:24:40 +0000 (14:24 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 4 Jan 2016 08:44:56 +0000 (08:44 +0000)
The interface is undocumented and barely implemented. It has the same
method as SchemaContextProvider (which is undocumented, too). Deprecate
it so the users use SchemaContextProvider instead.

Change-Id: I707affb449309260f6b8f83c4509cd5ec6510914
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/SchemaContextHolder.java

index 5dd822c42037d5848ec3f11d3aedef7d2fdeb477..90cb63eb25f297f5f9449ce997472a0a95fc1e68 100644 (file)
@@ -7,6 +7,10 @@
  */
 package org.opendaylight.yangtools.yang.model.api;
 
+/**
+ * @deprecated Use {@link SchemaContextProvider} instead.
+ */
+@Deprecated
 public interface SchemaContextHolder {
 
     SchemaContext getSchemaContext();