Migrate mdsal-binding-api to JDT annotations
[mdsal.git] / binding / mdsal-binding-api / src / main / java / org / opendaylight / mdsal / binding / api / DataTreeLoopException.java
index 326349d5765758ff560d7cbe5012edb4b4f3c7d2..cfa86c71912bd6ccef296e279579c31d3d429f94 100644 (file)
@@ -7,21 +7,20 @@
  */
 package org.opendaylight.mdsal.binding.api;
 
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
- * Exception thrown when a loop is detected in the way {@link DataTreeListener} and
- * {@link DataTreeProducer} instances would be connected.
+ * Exception thrown when a loop is detected in the way {@link DataTreeListener} and {@link DataTreeProducer} instances
+ * would be connected.
  */
 public class DataTreeLoopException extends DataTreeProducerException {
-
     private static final long serialVersionUID = 1L;
 
-    public DataTreeLoopException(@Nonnull final String message, @Nonnull final Throwable cause) {
+    public DataTreeLoopException(final @NonNull String message, final @NonNull Throwable cause) {
         super(message, cause);
     }
 
-    public DataTreeLoopException(@Nonnull final String message) {
+    public DataTreeLoopException(final @NonNull String message) {
         super(message);
     }