Merge pull request #5691 from izeye/prefix

* pr/5691:
  Polish
pull/5645/merge
Stephane Nicoll 9 years ago
commit a7e8a5cc46

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

Loading…
Cancel
Save