Simplify DOMNotificationService contract
[mdsal.git] / dom / mdsal-dom-api / src / main / java / org / opendaylight / mdsal / dom / api / DOMDataTreeShardingConflictException.java
index 9765eb40d817d87ac834f58475ba227028d30875..d235b70e67903f41f16d1ee020a341de145b0b3b 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.mdsal.dom.api;
 
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Exception thrown when an attempt to attach a conflicting shard to the global
@@ -16,11 +16,11 @@ import javax.annotation.Nonnull;
 public class DOMDataTreeShardingConflictException extends Exception {
     private static final long serialVersionUID = 1L;
 
-    public DOMDataTreeShardingConflictException(@Nonnull final String message) {
+    public DOMDataTreeShardingConflictException(final @NonNull String message) {
         super(message);
     }
 
-    public DOMDataTreeShardingConflictException(@Nonnull final String message, @Nonnull final Throwable cause) {
+    public DOMDataTreeShardingConflictException(final @NonNull String message, final @NonNull Throwable cause) {
         super(message, cause);
     }
 }