Add @since tags for getCacheFilter and setCacheFilter

Closes gh-23519
This commit is contained in:
Johnny Lim
2019-08-26 22:26:32 +09:00
committed by Sam Brannen
parent 4cd635e9c8
commit 6c2ef481ec

View File

@@ -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;