• Phillip Webb's avatar
    Order class filter checks and exit early · 85f86243
    Phillip Webb authored
    Update the logic in `OnClassCondition` so that filtering exits on the
    first missing class. Also refactor the implementation to save
    unnecessary `Set` creation when there is just a single class to check.
    
    The `AutoConfigureAnnotationProcessor` has also been updated to order
    classes so that any starting `org.springframework` are considered last.
    The assumption being that other classes are more likely to be missing.
    
    Closes gh-12131
    85f86243
Name
Last commit
Last update
..
main Loading commit data...
test/java/org/springframework/boot/autoconfigureprocessor Loading commit data...