Restore hasProgrammaticallySetProfiles code
Restore code lost on merge. See gh-26580
This commit is contained in:
parent
634d27679a
commit
2bbad94910
|
|
@ -114,6 +114,9 @@ public class Profiles implements Iterable<String> {
|
|||
if (!StringUtils.hasLength(environmentPropertyValue)) {
|
||||
return !type.getDefaultValue().equals(environmentProfiles);
|
||||
}
|
||||
if (type.getDefaultValue().equals(environmentProfiles)) {
|
||||
return false;
|
||||
}
|
||||
return !environmentPropertyProfiles.equals(environmentProfiles);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue