Corrected check on whether delegate implements Ordered interface.

This commit is contained in:
Luke Taylor 2008-02-01 14:02:01 +00:00
parent 0d9c1924fb
commit 2ad0c2cbd0
1 changed files with 1 additions and 1 deletions

View File

@ -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 +">");