Polishing

This commit is contained in:
Juergen Hoeller
2014-09-02 22:15:53 +02:00
parent cfd01ab100
commit 98eb0f75bc
6 changed files with 56 additions and 54 deletions

View File

@@ -258,11 +258,10 @@ public class JmsListenerAnnotationBeanPostProcessor
/**
* Resolve the specified value if possible.
*
* @see ConfigurableBeanFactory#resolveEmbeddedValue
*/
private String resolve(String value) {
if (this.beanFactory != null && this.beanFactory instanceof ConfigurableBeanFactory) {
if (this.beanFactory instanceof ConfigurableBeanFactory) {
return ((ConfigurableBeanFactory) this.beanFactory).resolveEmbeddedValue(value);
}
return value;