BUG-6647 Increase code coverage and clean up II
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / BGPPeer.java
index 272ce08200bbdf94d7c525e75c1066390c28610d..da0c276682e14b2d458277fb39e18ceca89ccacd 100644 (file)
@@ -417,11 +417,6 @@ public class BGPPeer implements BGPSessionListener, Peer, AutoCloseable, BGPPeer
         }
     }
 
-    @Override
-    public boolean isSessionActive() {
-        return this.session != null;
-    }
-
     @Override
     public synchronized byte[] getRawIdentifier() {
         return Arrays.copyOf(this.rawIdentifier, this.rawIdentifier.length);
@@ -439,10 +434,6 @@ public class BGPPeer implements BGPSessionListener, Peer, AutoCloseable, BGPPeer
         }
     }
 
-    public synchronized void registerRootRuntimeBean(final BGPPeerRuntimeRegistrator registrator) {
-        this.registrator = registrator;
-    }
-
     @Override
     public BgpSessionState getBgpSessionState() {
         if (this.session instanceof BGPSessionStats) {