|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -89,7 +89,7 @@ public abstract class AbstractEnvironment implements ConfigurableEnvironment { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Name of reserved default profile name: {@value}. If no default profile names are |
|
|
|
* Name of reserved default profile name: {@value}. If no default profile names are |
|
|
|
* explicitly and no active profile names are explicitly set, this profile will |
|
|
|
* explicitly set and no active profile names are explicitly set, this profile will |
|
|
|
* automatically be activated by default. |
|
|
|
* automatically be activated by default. |
|
|
|
* @see #getReservedDefaultProfiles |
|
|
|
* @see #getReservedDefaultProfiles |
|
|
|
* @see ConfigurableEnvironment#setDefaultProfiles |
|
|
|
* @see ConfigurableEnvironment#setDefaultProfiles |
|
|
|
@ -97,7 +97,7 @@ public abstract class AbstractEnvironment implements ConfigurableEnvironment { |
|
|
|
* @see AbstractEnvironment#DEFAULT_PROFILES_PROPERTY_NAME |
|
|
|
* @see AbstractEnvironment#DEFAULT_PROFILES_PROPERTY_NAME |
|
|
|
* @see AbstractEnvironment#ACTIVE_PROFILES_PROPERTY_NAME |
|
|
|
* @see AbstractEnvironment#ACTIVE_PROFILES_PROPERTY_NAME |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected static final String RESERVED_DEFAULT_PROFILE_NAME = "default"; |
|
|
|
public static final String RESERVED_DEFAULT_PROFILE_NAME = "default"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected final Log logger = LogFactory.getLog(getClass()); |
|
|
|
protected final Log logger = LogFactory.getLog(getClass()); |
|
|
|
|