Do not pass nulls to Interner
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / impl / GroupingSort.java
index 8c3c2eae9e1885ff32bb597645203fa7d8dc7c7c..4112d4f2ca4c24ee5a38bda229cce39fa79a8e1b 100644 (file)
@@ -27,6 +27,10 @@ import org.opendaylight.yangtools.yang.parser.util.NodeWrappedType;
 import org.opendaylight.yangtools.yang.parser.util.TopologicalSort;
 import org.opendaylight.yangtools.yang.parser.util.TopologicalSort.Node;
 
+/**
+ * @deprecated Pre-Beryllium implementation, scheduled for removal.
+ */
+@Deprecated
 public final class GroupingSort {
     private GroupingSort() {
         throw new UnsupportedOperationException("Utility class should not be instantiated");
@@ -34,17 +38,17 @@ public final class GroupingSort {
 
     /**
      * Sorts set <code>groupingDefinitions</code> according to the mutual
-     * dependencies.<br />
+     * dependencies.<br>
      *
      * Elements of <code>groupingDefinitions</code> are firstly transformed to
      * {@link org.opendaylight.yangtools.yang.parser.util.TopologicalSort.Node
      * Node} interfaces and then are sorted by
      * {@link org.opendaylight.yangtools.yang.parser.util.TopologicalSort#sort(Set)
-     * sort()} method of <code>TopologicalSort</code>.<br />
-     * <br />
+     * sort()} method of <code>TopologicalSort</code>.<br>
+     * <br>
      *
      *
-     * <i>Definition of dependency relation:<br />
+     * <i>Definition of dependency relation:<br>
      * The first <code>GroupingDefinition</code> object (in this context)
      * depends on second <code>GroupingDefinition</code> object if the first one
      * contains in its set of <code>UsesNode</code> (obtained through