Merge remote-tracking branch 'origin/2.0.x'

This commit is contained in:
Ryan Baxter
2019-01-18 16:14:12 -05:00

View File

@@ -231,7 +231,7 @@ public class PropertySourceBootstrapConfiguration implements
private String[] getProfilesForValue(Object property) {
final String value = (property == null ? null : property.toString());
return StringUtils.commaDelimitedListToStringArray(value);
return property == null ? new String[0] : StringUtils.tokenizeToStringArray(value, ",");
}
}