mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-28 04:59:10 +00:00
Previously, all of the type exclude filters in spring-boot-test-autoconfigure were package-private. This prevent a user who was creating their own test slice from composing their own TypeExcludeFilter with one of Boot's. This commit updates all of the TypeExcludeFilters in the test-autoconfigure module to make them public. The intention is only to allow them to be composed with other type exclude filters when referenced in a @TypeExcludeFilters annotation. Therefore, each filter class is declared final and their constructors remain package-private. Closes gh-18746