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
commit a7e8a5cc46
1 changed files with 0 additions and 1 deletions

View File

@ -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);
} }