Commit 2bbad949 authored by Phillip Webb's avatar Phillip Webb

Restore hasProgrammaticallySetProfiles code

Restore code lost on merge.

See gh-26580
parent 634d2767
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment