Skip to content

Commit 14a90aa

Browse files
committed
Update SpringApplicationBuilder javadoc to reflect API changes
Closes gh-7609
1 parent 4ec95b8 commit 14a90aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
* new SpringApplicationBuilder(ParentConfig.class).child(ChildConfig.class).run(args);
4747
* </pre>
4848
*
49-
* Another common use case is setting default arguments, e.g. active Spring profiles, to
50-
* set up the environment for an application:
49+
* Another common use case is setting active profiles and default properties to set up the
50+
* environment for an application:
5151
*
5252
* <pre class="code">
5353
* new SpringApplicationBuilder(Application.class).profiles(&quot;server&quot;)
54-
* .defaultArgs(&quot;--transport=local&quot;).run(args);
54+
* .properties(&quot;transport=local&quot;).run(args);
5555
* </pre>
5656
*
5757
* <p>

0 commit comments

Comments
 (0)