Commit a7e8a5cc authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #5691 from izeye/prefix

* pr/5691:
  Polish
parents 85d2f295 c1549900
...@@ -116,7 +116,6 @@ public class AnnotationsPropertySource extends EnumerablePropertySource<Class<?> ...@@ -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);
} }
......
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