Add @since tags for getCacheFilter and setCacheFilter
Closes gh-23519
This commit is contained in:
@@ -151,6 +151,7 @@ public abstract class AbstractCachingViewResolver extends WebApplicationObjectSu
|
|||||||
/**
|
/**
|
||||||
* Sets the filter that determines if view should be cached.
|
* Sets the filter that determines if view should be cached.
|
||||||
* Default behaviour is to cache all views.
|
* Default behaviour is to cache all views.
|
||||||
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public void setCacheFilter(CacheFilter cacheFilter) {
|
public void setCacheFilter(CacheFilter cacheFilter) {
|
||||||
Assert.notNull(cacheFilter, "CacheFilter must not be null");
|
Assert.notNull(cacheFilter, "CacheFilter must not be null");
|
||||||
@@ -159,6 +160,7 @@ public abstract class AbstractCachingViewResolver extends WebApplicationObjectSu
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return filter function that determines if view should be cached.
|
* Return filter function that determines if view should be cached.
|
||||||
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public CacheFilter getCacheFilter() {
|
public CacheFilter getCacheFilter() {
|
||||||
return this.cacheFilter;
|
return this.cacheFilter;
|
||||||
|
|||||||
Reference in New Issue
Block a user