Skip to content

Commit

Permalink
Restore hasProgrammaticallySetProfiles code
Browse files Browse the repository at this point in the history
Restore code lost on merge.

See gh-26580
  • Loading branch information
philwebb committed May 17, 2021
1 parent 634d276 commit 2bbad94
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ private boolean hasProgrammaticallySetProfiles(Type type, String environmentProp
if (!StringUtils.hasLength(environmentPropertyValue)) {
return !type.getDefaultValue().equals(environmentProfiles);
}
if (type.getDefaultValue().equals(environmentProfiles)) {
return false;
}
return !environmentPropertyProfiles.equals(environmentProfiles);
}

Expand Down

0 comments on commit 2bbad94

Please sign in to comment.