Code Clean Up
[bgpcep.git] / bgp / rib-spi / src / test / java / org / opendaylight / protocol / bgp / rib / spi / RibSupportUtilsTest.java
index c1ba1705cec08d7b7d5e96c8fd784d4ae35dd730..07aa47e1ead16fac622262171643aaab291857b3 100644 (file)
@@ -64,8 +64,8 @@ public class RibSupportUtilsTest {
         final Map<QName, Object> m = p.getKeyValues();
         assertFalse(m.isEmpty());
         assertEquals(Tables.QNAME, p.getNodeType());
-        assertTrue(m.containsValue(BindingReflections.findQName(AFI)));
-        assertTrue(m.containsValue(BindingReflections.findQName(SAFI)));
+        assertTrue(m.containsValue(BindingReflections.findQName(this.AFI)));
+        assertTrue(m.containsValue(BindingReflections.findQName(this.SAFI)));
     }
 
     @Test
@@ -74,13 +74,13 @@ public class RibSupportUtilsTest {
         final Map<QName, Object> m = p.getKeyValues();
         assertFalse(m.isEmpty());
         assertEquals(SupportedTables.QNAME, p.getNodeType());
-        assertTrue(m.containsValue(BindingReflections.findQName(AFI)));
-        assertTrue(m.containsValue(BindingReflections.findQName(SAFI)));
+        assertTrue(m.containsValue(BindingReflections.findQName(this.AFI)));
+        assertTrue(m.containsValue(BindingReflections.findQName(this.SAFI)));
     }
 
     @Test
     public void toYangPathKey() {
-        final NodeIdentifierWithPredicates result = RibSupportUtils.toYangPathKey(SupportedTables.QNAME, AFI, SAFI);
+        final NodeIdentifierWithPredicates result = RibSupportUtils.toYangPathKey(SupportedTables.QNAME, this.AFI, this.SAFI);
         assertEquals(NII_PATH.toString(), result.toString());
 
     }