Merge pull request #5691 from izeye/prefix

* pr/5691:
  Polish
This commit is contained in:
Stephane Nicoll
2016-04-15 08:35:46 +02:00

View File

@@ -116,7 +116,6 @@ public class AnnotationsPropertySource extends EnumerablePropertySource<Class<?>
}
private String dotAppend(String prefix, String postfix) {
prefix = (prefix == null ? "" : prefix);
if (StringUtils.hasText(prefix)) {
return (prefix.endsWith(".") ? prefix + postfix : prefix + "." + postfix);
}