Fix findbug and checkstyle issues
[bgpcep.git] / bgp / path-selection-mode / src / main / java / org / opendaylight / protocol / bgp / mode / impl / add / n / paths / ComplexRouteEntry.java
index 3d7b7abf4f4fdd239d54a1d6d3647143745d63a8..747496abd30e3d8a89bfe100064d127d757dd65e 100644 (file)
@@ -22,8 +22,8 @@ final class ComplexRouteEntry extends AbstractNPathsRouteEntry {
     private static final MapEntryNode[] EMPTY_VALUES = new MapEntryNode[0];
     private MapEntryNode[] values = EMPTY_VALUES;
 
-    public ComplexRouteEntry(final Long nBestPaths) {
-        super(nBestPaths);
+    ComplexRouteEntry(final Long npaths) {
+        super(npaths);
     }
 
     @Override
@@ -43,7 +43,8 @@ final class ComplexRouteEntry extends AbstractNPathsRouteEntry {
     }
 
     @Override
-    public int addRoute(final UnsignedInteger routerId, final Long remotePathId, final NodeIdentifier attributesIdentifier, final NormalizedNode<?, ?> data) {
+    public int addRoute(final UnsignedInteger routerId, final Long remotePathId,
+            final NodeIdentifier attributesIdentifier, final NormalizedNode<?, ?> data) {
         final OffsetMap oldMap = getOffsets();
         final int offset = addRoute(new RouteKey(routerId, remotePathId), attributesIdentifier, data);
         final OffsetMap newMap = getOffsets();