Fix sonar warnings in sal-distributed-datastore
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / ShardDataTreeMetadata.java
index 7db3a228c8023f16f9ab975c26f4c76effe7e44c..e2c1b27db1406ad0e6d2f3e1b405d1f6db33f464 100644 (file)
@@ -44,14 +44,16 @@ abstract class ShardDataTreeMetadata<T extends ShardDataTreeSnapshotMetadata<T>>
      *
      * @return Metadata type
      */
-    abstract @Nonnull Class<T> getSupportedType();
+    @Nonnull
+    abstract Class<T> getSupportedType();
 
     /**
      * Take a snapshot of current metadata state.
      *
      * @return Metadata snapshot, or null if the metadata is empty.
      */
-    abstract @Nullable T toSnapshot();
+    @Nullable
+    abstract T toSnapshot();
 
     // Lifecycle events