mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-10 19:39:01 +00:00
Before this change it got overwritten by forwarding an empty CacheControl to Spring. Spring itself sets CacheSeconds already correctly in absence (=null) of a CacheControl. Also: * Fixes bug in WebMvcAutoConfigurationTests.cachePeriod which prevented it to assert anything See gh-16488 Closes gh-16730