Get rid of JSR305 annotations
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / PCEPDispatcherDependencies.java
index 73bf8e6a0829ac67d5b883d6b915d09e5ed9b28f..7b267b73648401788407ee6c0f72542caa19cbe8 100644 (file)
@@ -5,23 +5,22 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.protocol.pcep;
 
 import java.net.InetSocketAddress;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.opendaylight.protocol.concepts.KeyMapping;
 
 /**
  * Contains all required dependencies for instantiate a PCEPDispatcher.
  */
+@NonNullByDefault
 public interface PCEPDispatcherDependencies extends PCEPSessionNegotiatorFactoryDependencies {
     /**
      * Return the address to be bound with the server.
      *
      * @return ip address
      */
-    @Nonnull
     InetSocketAddress getAddress();
 
     /**
@@ -29,7 +28,6 @@ public interface PCEPDispatcherDependencies extends PCEPSessionNegotiatorFactory
      *
      * @return map containing Keys
      */
-    @Nonnull
     KeyMapping getKeys();
 
     /**
@@ -37,6 +35,5 @@ public interface PCEPDispatcherDependencies extends PCEPSessionNegotiatorFactory
      *
      * @return map containing Keys
      */
-    @Nonnull
     SpeakerIdMapping getSpeakerIdMapping();
 }