• P
    Detect cache hit with multiple @Cachables · b0b40dad
    Phillip Webb 提交于
    Fix CacheAspectSupport to consider a cache hit from any of the multiple
    @Cachables that may have been specified using the @Caching annotation.
    
    Prior to this commit the following scenario would never produce a hit:
    
    	@Caching(cacheable = {
    		@Cacheable(value = "c1", unless = "#result.size() < 4"),
    		@Cacheable(value = "c2", unless = "#result.size() > 3")
    	})
    
    Issue: SPR-11124
    b0b40dad
CacheReproTests.java 2.6 KB