Fix sonar warnings in sal-distributed-datastore
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / LocalPrimaryShardFound.java
index 707f50b324a4f39d1b7d88b47229a14cadcfa7bc..0ca4f6444da1861f382ba5dfa626fbe72f2674e1 100644 (file)
@@ -27,11 +27,13 @@ public class LocalPrimaryShardFound {
         this.localShardDataTree = Preconditions.checkNotNull(localShardDataTree);
     }
 
-    public @Nonnull String getPrimaryPath() {
+    @Nonnull
+    public String getPrimaryPath() {
         return primaryPath;
     }
 
-    public @Nonnull DataTree getLocalShardDataTree() {
+    @Nonnull
+    public DataTree getLocalShardDataTree() {
         return localShardDataTree;
     }