Fix findbug and checkstyle issues
[bgpcep.git] / bgp / path-selection-mode / src / main / java / org / opendaylight / protocol / bgp / mode / api / PathSelectionMode.java
index b1ee6a1d1a8ce7df6d848547a21d295e8e3e2541..97e408a3ba0ce25704d98577b1b584b7c71a6642 100644 (file)
@@ -7,11 +7,14 @@
  */
 package org.opendaylight.protocol.bgp.mode.api;
 
+import javax.annotation.Nonnull;
+
 public interface PathSelectionMode extends AutoCloseable {
     /**
-     * Create a RouteEntry
+     * Create a RouteEntry.
+     *
      * @param isComplex true if is complex
      * @return ComplexRouteEntry if is complex otherwise a SimpleRouteEntry
      */
-    RouteEntry createRouteEntry(boolean isComplex);
+    @Nonnull RouteEntry createRouteEntry(boolean isComplex);
 }