diff --git a/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java b/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java index 14be584fe68a..670acb4d14cf 100644 --- a/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java +++ b/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java @@ -46,12 +46,12 @@ * new SpringApplicationBuilder(ParentConfig.class).child(ChildConfig.class).run(args); * * - * Another common use case is setting default arguments, e.g. active Spring profiles, to - * set up the environment for an application: + * Another common use case is setting active profiles and default properties to set up the + * environment for an application: * *
* new SpringApplicationBuilder(Application.class).profiles("server") - * .defaultArgs("--transport=local").run(args); + * .properties("transport=local").run(args); ** *