• S
    Presort beans in ControllerAdviceBean.findAnnotatedBeans() · d0231cb2
    Sam Brannen 提交于
    Prior to this commit, all clients of
    ControllerAdviceBean.findAnnotatedBeans() sorted the returned list
    manually. In addition, clients within the core Spring Framework
    unnecessarily used AnnotationAwareOrderComparator instead of
    OrderComparator to sort the list.
    
    This commit presorts the ControllerAdviceBean list using OrderComparator
    directly within ControllerAdviceBean.findAnnotatedBeans().
    
    Closes gh-23188
    d0231cb2
WebSocketAnnotationMethodMessageHandler.java 3.9 KB