File tree 1 file changed +6
-6
lines changed
spring-shell-samples/src/main/java/org/springframework/shell/samples/e2e 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -304,8 +304,8 @@ public String optionTypeStringListAnnotation(
304
304
}
305
305
306
306
@ Bean
307
- public CommandRegistration optionTypeStringListRegistration (CommandRegistration . BuilderSupplier builder ) {
308
- return builder . get ()
307
+ public CommandRegistration optionTypeStringListRegistration () {
308
+ return CommandRegistration . builder ()
309
309
.command (REG , "option-type-string-list" )
310
310
.group (GROUP )
311
311
.withOption ()
@@ -334,8 +334,8 @@ public String optionTypeStringSetAnnotation(
334
334
}
335
335
336
336
@ Bean
337
- public CommandRegistration optionTypeStringSetRegistration (CommandRegistration . BuilderSupplier builder ) {
338
- return builder . get ()
337
+ public CommandRegistration optionTypeStringSetRegistration () {
338
+ return CommandRegistration . builder ()
339
339
.command (REG , "option-type-string-set" )
340
340
.group (GROUP )
341
341
.withOption ()
@@ -364,8 +364,8 @@ public String optionTypeStringCollectionAnnotation(
364
364
}
365
365
366
366
@ Bean
367
- public CommandRegistration optionTypeStringCollectionRegistration (CommandRegistration . BuilderSupplier builder ) {
368
- return builder . get ()
367
+ public CommandRegistration optionTypeStringCollectionRegistration () {
368
+ return CommandRegistration . builder ()
369
369
.command (REG , "option-type-string-collection" )
370
370
.group (GROUP )
371
371
.withOption ()
You can’t perform that action at this time.
0 commit comments