Fix sonar warnings in sal-distributed-datastore
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / utils / PrimaryShardInfoFutureCache.java
index 70d9b94a00ea6eaf8bde2ffddb9b6eb001c19e07..3d4476a972e6ee8491da4143c6fb6174bdc2d366 100644 (file)
@@ -23,7 +23,8 @@ import scala.concurrent.Future;
 public class PrimaryShardInfoFutureCache {
     private final Cache<String, Future<PrimaryShardInfo>> primaryShardInfoCache = CacheBuilder.newBuilder().build();
 
-    public @Nullable Future<PrimaryShardInfo> getIfPresent(@Nonnull String shardName) {
+    @Nullable
+    public Future<PrimaryShardInfo> getIfPresent(@Nonnull String shardName) {
         return primaryShardInfoCache.getIfPresent(shardName);
     }