From dc5bef16b40baf6e27e66a8d1696b1474335f8c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Wed, 29 Nov 2023 17:47:27 +0100 Subject: [PATCH] Polish Default Profile section Closes gh-30319 --- .../modules/ROOT/pages/core/beans/environment.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/core/beans/environment.adoc b/framework-docs/modules/ROOT/pages/core/beans/environment.adoc index 0e236078d4..ac8085f0e2 100644 --- a/framework-docs/modules/ROOT/pages/core/beans/environment.adoc +++ b/framework-docs/modules/ROOT/pages/core/beans/environment.adoc @@ -516,8 +516,8 @@ as the following example shows: [[beans-definition-profiles-default]] === Default Profile -The default profile represents the profile that is enabled by default. Consider the -following example: +The default profile represents the profile that is enabled if no profile is active. Consider +the following example: [tabs] ====== @@ -558,9 +558,9 @@ Kotlin:: ---- ====== -If no profile is active, the `dataSource` is created. You can see this -as a way to provide a default definition for one or more beans. If any -profile is enabled, the default profile does not apply. +If xref:#beans-definition-profiles-enable[no profile is active], the `dataSource` is +created. You can see this as a way to provide a default definition for one or more +beans. If any profile is enabled, the default profile does not apply. The name of the default profile is `default`. You can change the name of the default profile by using `setDefaultProfiles()` on the `Environment` or,