Commit 676b7d71 authored by Stephane Nicoll's avatar Stephane Nicoll

Refine log message

Rework c03e14be to avoid an extra empty space in log message

See gh-3033
parent c03e14be
......@@ -391,9 +391,9 @@ public class ConfigFileApplicationListener implements
StringBuilder msg = new StringBuilder();
msg.append(propertySource == null ? "Skipped " : "Loaded ");
msg.append("config file ");
msg.append("'" + location + "' ");
msg.append(StringUtils.hasLength(profile) ? "for profile " + profile : "");
msg.append(resource == null || !resource.exists() ? " resource not found" : "");
msg.append("'").append(location).append("' ");
msg.append(StringUtils.hasLength(profile) ? "for profile " + profile : " ");
msg.append(resource == null || !resource.exists() ? "resource not found" : "");
this.debug.add(msg);
return propertySource;
......
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