Corrected check on whether delegate implements Ordered interface.
This commit is contained in:
parent
0d9c1924fb
commit
2ad0c2cbd0
|
@ -92,7 +92,7 @@ public class OrderedFilterBeanDefinitionDecorator implements BeanDefinitionDecor
|
|||
|
||||
public final int getOrder() {
|
||||
if(order == null) {
|
||||
Assert.isInstanceOf(Ordered.class, "Filter '"+ beanName +"' must implement the 'Ordered' interface " +
|
||||
Assert.isInstanceOf(Ordered.class, delegate, "Filter '"+ beanName +"' must implement the 'Ordered' interface " +
|
||||
" or you must specify one of the attributes '" + ATT_AFTER + "' or '" +
|
||||
ATT_BEFORE + "' in <" + Elements.CUSTOM_FILTER +">");
|
||||
|
||||
|
|
Loading…
Reference in New Issue