Do not instantiate new maps in LeafRefContextBuilder
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / leafref / QNameWithPredicate.java
index c3adece6e25aa5b415b7e8cb803d38863d87f4c3..1c421c31fbb261991b801ff5207bc67d87f7ad86 100644 (file)
@@ -13,18 +13,16 @@ import org.opendaylight.yangtools.yang.common.QNameModule;
 
 public interface QNameWithPredicate {
 
-    static final QNameWithPredicate UP_PARENT = new QNameWithPredicateBuilder(
-            null, "..").build();
+    QNameWithPredicate UP_PARENT = new QNameWithPredicateBuilder(null, "..").build();
 
-    static final QNameWithPredicate ROOT = new QNameWithPredicateBuilder(
-            null, "").build();
+    QNameWithPredicate ROOT = new QNameWithPredicateBuilder(null, "").build();
 
-    public List<QNamePredicate> getQNamePredicates();
+    List<QNamePredicate> getQNamePredicates();
 
-    public QNameModule getModuleQname();
+    QNameModule getModuleQname();
 
-    public String getLocalName();
+    String getLocalName();
 
-    public QName getQName();
+    QName getQName();
 
 }
\ No newline at end of file