Migrate nullness annotations
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / sharding / DOMDataTreeShardCreationFailedException.java
index eda11532ceba84f48c9f7c47f88e4239d4ae17af..c9b2c305848ba7c410d498c28bed21e2dba35b8b 100644 (file)
@@ -5,11 +5,10 @@
  * 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.controller.cluster.sharding;
 
 import com.google.common.annotations.Beta;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
  * Exception thrown when there was a at any point during the creation of a shard via {@link DistributedShardFactory}.
@@ -18,11 +17,11 @@ import javax.annotation.Nonnull;
 public class DOMDataTreeShardCreationFailedException extends Exception {
     private static final long serialVersionUID = 1L;
 
-    public DOMDataTreeShardCreationFailedException(@Nonnull final String message) {
+    public DOMDataTreeShardCreationFailedException(final @NonNull String message) {
         super(message);
     }
 
-    public DOMDataTreeShardCreationFailedException(@Nonnull final String message, @Nonnull final Throwable cause) {
+    public DOMDataTreeShardCreationFailedException(final @NonNull String message, final @NonNull Throwable cause) {
         super(message, cause);
     }
 }