BUG-6647 Increase code coverage and clean up II
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / stats / peer / route / PerTableTypeRouteCounter.java
index acaf2674a20d70c17a6267ae3e59579d0e216ccb..07bdf06f8e7a08a7d7f8efad930c2d94465d18de 100644 (file)
@@ -17,9 +17,6 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-/**
- * @author Kevin Wang
- */
 public final class PerTableTypeRouteCounter {
     private static final Logger LOG = LoggerFactory.getLogger(PerTableTypeRouteCounter.class);
 
@@ -63,15 +60,6 @@ public final class PerTableTypeRouteCounter {
         return this.counters.getOrDefault(Preconditions.checkNotNull(tablesKey), createCounter(tablesKey));
     }
 
-    /**
-     * Get the counter with given tablesKey
-     * @param tablesKey
-     * @return
-     */
-    public final UnsignedInt32Counter getCounter(@Nonnull final TablesKey tablesKey) {
-        return this.counters.get(Preconditions.checkNotNull(tablesKey));
-    }
-
     /**
      * Get the counter with given tablesKey.  Create an empty counter if it doesn't exist
      * This method will put the created empty counter back to map