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 {