Skip to content

Commit dc5bef1

Browse files
committed
Polish Default Profile section
Closes gh-30319
1 parent f3b1f37 commit dc5bef1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

framework-docs/modules/ROOT/pages/core/beans/environment.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,8 @@ as the following example shows:
516516
[[beans-definition-profiles-default]]
517517
=== Default Profile
518518

519-
The default profile represents the profile that is enabled by default. Consider the
520-
following example:
519+
The default profile represents the profile that is enabled if no profile is active. Consider
520+
the following example:
521521

522522
[tabs]
523523
======
@@ -558,9 +558,9 @@ Kotlin::
558558
----
559559
======
560560

561-
If no profile is active, the `dataSource` is created. You can see this
562-
as a way to provide a default definition for one or more beans. If any
563-
profile is enabled, the default profile does not apply.
561+
If xref:#beans-definition-profiles-enable[no profile is active], the `dataSource` is
562+
created. You can see this as a way to provide a default definition for one or more
563+
beans. If any profile is enabled, the default profile does not apply.
564564

565565
The name of the default profile is `default`. You can change the name of
566566
the default profile by using `setDefaultProfiles()` on the `Environment` or,

0 commit comments

Comments
 (0)