File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
core/redis-enterprise-admin/src/main/java/com/redis/enterprise Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 55import java .util .List ;
66import java .util .Objects ;
77import java .util .stream .Collectors ;
8- import java .util .stream .Stream ;
98
109import org .apache .hc .core5 .util .Asserts ;
1110import org .springframework .util .unit .DataSize ;
@@ -156,10 +155,6 @@ public List<ShardKeyRegex> getShardKeyRegex() {
156155 return shardKeyRegex ;
157156 }
158157
159- public void setShardKeyRegex (String ... regexes ) {
160- setShardKeyRegex (Stream .of (regexes ).map (ShardKeyRegex ::new ).collect (Collectors .toList ()));
161- }
162-
163158 public void setShardKeyRegex (List <ShardKeyRegex > shardKeyRegex ) {
164159 this .shardKeyRegex = shardKeyRegex ;
165160 }
@@ -186,10 +181,6 @@ public void setShardPlacement(ShardPlacement shardPlacement) {
186181 public List <ModuleConfig > getModules () {
187182 return modules ;
188183 }
189-
190- public void setModules (RedisModule ... modules ) {
191- setModules (Stream .of (modules ).map (RedisModule ::getModuleName ).map (ModuleConfig ::new ).collect (Collectors .toList ()));
192- }
193184
194185 public void setModules (List <ModuleConfig > modules ) {
195186 this .modules = modules ;
You can’t perform that action at this time.
0 commit comments