Bump upstreams
[bgpcep.git] / bgp / rib-impl / src / test / java / org / opendaylight / protocol / bgp / rib / impl / ParserToSalTest.java
index 2597f8bbd1d2e184b50b698043f6eef8bf7b66d0..1ea3334bc3ba5069e08e8d4e0e31059b21f02ea4 100644 (file)
@@ -55,7 +55,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev180329.rib.TablesKey;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.Ipv4AddressFamily;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.UnicastSubsequentAddressFamily;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
+import org.opendaylight.yangtools.concepts.Registration;
 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
 
 @Ignore
@@ -109,7 +109,7 @@ public class ParserToSalTest extends DefaultRibPoliciesMockTest {
         final BGPPeer peer = AbstractAddPathTest.configurePeer(tableRegistry,
             localAddress.getIpv4AddressNoZone(), rib, null, PeerRole.Ibgp, new StrictBGPPeerRegistry());
         peer.instantiateServiceInstance();
-        final ListenerRegistration<?> reg = mock.registerUpdateListener(peer);
+        final Registration reg = mock.registerUpdateListener(peer);
         reg.close();
     }
 
@@ -125,7 +125,7 @@ public class ParserToSalTest extends DefaultRibPoliciesMockTest {
         final BGPPeer peer = AbstractAddPathTest.configurePeer(tableRegistry,
             localAddress.getIpv4AddressNoZone(), rib, null, PeerRole.Ibgp, new StrictBGPPeerRegistry());
         peer.instantiateServiceInstance();
-        final ListenerRegistration<?> reg = mock.registerUpdateListener(peer);
+        final Registration reg = mock.registerUpdateListener(peer);
         reg.close();
     }