Commit ee0a66a2 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #18727 from wonwoo

* pr/18727:
  Polish OnBeanCondition message

Closes gh-18727
parents 7de861b2 3369d80f
......@@ -598,17 +598,19 @@ class OnBeanCondition extends FilteringSpringBootCondition implements Configurat
if (hasNames) {
string.append("names: ");
string.append(StringUtils.collectionToCommaDelimitedString(this.names));
string.append(hasTypes ? "" : "; ");
string.append(hasTypes ? " " : "; ");
}
if (hasTypes) {
string.append("types: ");
string.append(StringUtils.collectionToCommaDelimitedString(this.types));
string.append(hasIgnoredTypes ? " " : "; ");
}
if (hasIgnoredTypes) {
string.append("ignored: ");
string.append(StringUtils.collectionToCommaDelimitedString(this.ignoredTypes));
string.append("; ");
}
string.append("; SearchStrategy: ");
string.append("SearchStrategy: ");
string.append(this.strategy.toString().toLowerCase(Locale.ENGLISH));
string.append(")");
return string.toString();
......
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