Fix findbug and checkstyle issues
[bgpcep.git] / bgp / path-selection-mode / src / main / java / org / opendaylight / protocol / bgp / mode / impl / add / n / paths / AddPathBestNPathSelection.java
index 29eed92f9d81c0795030e34d8edf7838093c4951..6b9f5dbf491ea07ea7be12c81f2f16bdb81250a8 100644 (file)
@@ -12,10 +12,10 @@ import org.opendaylight.protocol.bgp.mode.api.PathSelectionMode;
 import org.opendaylight.protocol.bgp.mode.api.RouteEntry;
 
 public class AddPathBestNPathSelection implements PathSelectionMode {
-    private final Long nBestPaths;
+    private final Long npaths;
 
-    public AddPathBestNPathSelection(final Long nBestPaths) {
-        this.nBestPaths = nBestPaths;
+    public AddPathBestNPathSelection(final Long npaths) {
+        this.npaths = npaths;
     }
 
     @Override
@@ -29,6 +29,6 @@ public class AddPathBestNPathSelection implements PathSelectionMode {
     }
 
     public Long getNBestPaths() {
-        return this.nBestPaths;
+        return this.npaths;
     }
 }
\ No newline at end of file