Correctly delegate to OrderUtils.getPriority for DecoratingProxy
Issue: SPR-16739
This commit is contained in:
parent
d78e27f1e9
commit
2f4010e8d3
|
@ -107,7 +107,7 @@ public class AnnotationAwareOrderComparator extends OrderComparator {
|
|||
}
|
||||
Integer priority = OrderUtils.getPriority(obj.getClass());
|
||||
if (priority == null && obj instanceof DecoratingProxy) {
|
||||
priority = OrderUtils.getOrder(((DecoratingProxy) obj).getDecoratedClass());
|
||||
priority = OrderUtils.getPriority(((DecoratingProxy) obj).getDecoratedClass());
|
||||
}
|
||||
return priority;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue