Closes gh-5691
This commit is contained in:
Johnny Lim
2016-04-14 23:23:28 +09:00
committed by Stephane Nicoll
parent 85d2f2950a
commit c154990024

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