Fix warnings/javadocs in sal-distributed-datastore
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / config / ModuleConfig.java
index 5b1421b5443413c60869f9503b367e2d51dfd447..d5094a56910a473aab52f4ef72a77147df7e64cf 100644 (file)
@@ -52,8 +52,8 @@ public class ModuleConfig {
     }
 
     @Nullable
-    public ShardConfig getShardConfig(String name) {
-        return shardConfigs.get(name);
+    public ShardConfig getShardConfig(String forName) {
+        return shardConfigs.get(forName);
     }
 
     @Nonnull
@@ -93,23 +93,23 @@ public class ModuleConfig {
             }
         }
 
-        public Builder name(String name) {
-            this.name = name;
+        public Builder name(String newName) {
+            this.name = newName;
             return this;
         }
 
-        public Builder nameSpace(String nameSpace) {
-            this.nameSpace = nameSpace;
+        public Builder nameSpace(String newNameSpace) {
+            this.nameSpace = newNameSpace;
             return this;
         }
 
-        public Builder shardStrategy(ShardStrategy shardStrategy) {
-            this.shardStrategy = shardStrategy;
+        public Builder shardStrategy(ShardStrategy newShardStrategy) {
+            this.shardStrategy = newShardStrategy;
             return this;
         }
 
-        public Builder shardConfig(String name, Collection<MemberName> replicas) {
-            shardConfigs.put(name, new ShardConfig(name, replicas));
+        public Builder shardConfig(String shardName, Collection<MemberName> replicas) {
+            shardConfigs.put(shardName, new ShardConfig(shardName, replicas));
             return this;
         }