提交 6c2ef481 编写于 作者: J Johnny Lim 提交者: Sam Brannen

Add @since tags for getCacheFilter and setCacheFilter

Closes gh-23519
上级 4cd635e9
......@@ -151,6 +151,7 @@ public abstract class AbstractCachingViewResolver extends WebApplicationObjectSu
/**
* Sets the filter that determines if view should be cached.
* Default behaviour is to cache all views.
* @since 5.2
*/
public void setCacheFilter(CacheFilter cacheFilter) {
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.
* @since 5.2
*/
public CacheFilter getCacheFilter() {
return this.cacheFilter;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册