Simplify String concatenation
This commit is contained in:
committed by
Juergen Hoeller
parent
9d2e7ced89
commit
29f382b04e
@@ -150,9 +150,7 @@ public class BeanDefinitionHolder implements BeanMetadataElement {
|
||||
* @see #getBeanDefinition()
|
||||
*/
|
||||
public String getLongDescription() {
|
||||
StringBuilder sb = new StringBuilder(getShortDescription());
|
||||
sb.append(": ").append(this.beanDefinition);
|
||||
return sb.toString();
|
||||
return getShortDescription() + ": " + this.beanDefinition;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user