From e7b990e40d9cd87660753cb1c22c67dba41797fe Mon Sep 17 00:00:00 2001 From: zhouhao Date: Tue, 23 May 2017 22:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shiro/boost/DataAccessAnnotationMethodInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsweb-authorization/hsweb-authorization-shiro/src/main/java/org/hswebframework/web/authorization/shiro/boost/DataAccessAnnotationMethodInterceptor.java b/hsweb-authorization/hsweb-authorization-shiro/src/main/java/org/hswebframework/web/authorization/shiro/boost/DataAccessAnnotationMethodInterceptor.java index 8a4b006d6..deb11278d 100644 --- a/hsweb-authorization/hsweb-authorization-shiro/src/main/java/org/hswebframework/web/authorization/shiro/boost/DataAccessAnnotationMethodInterceptor.java +++ b/hsweb-authorization/hsweb-authorization-shiro/src/main/java/org/hswebframework/web/authorization/shiro/boost/DataAccessAnnotationMethodInterceptor.java @@ -67,7 +67,7 @@ public class DataAccessAnnotationMethodInterceptor extends AuthorizingAnnotation this.dataAccessController = controller; } - Map, DataAccessController> cache = new HashMap<>(); + final Map, DataAccessController> cache = new HashMap<>(128); @Override public void assertAuthorized(Annotation a) throws AuthorizationException {