mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-20 23:36:07 +08:00
优化cache
This commit is contained in:
@@ -67,7 +67,7 @@ public class DataAccessAnnotationMethodInterceptor extends AuthorizingAnnotation
|
||||
this.dataAccessController = controller;
|
||||
}
|
||||
|
||||
Map<Class<DataAccessController>, DataAccessController> cache = new HashMap<>();
|
||||
final Map<Class<DataAccessController>, DataAccessController> cache = new HashMap<>(128);
|
||||
|
||||
@Override
|
||||
public void assertAuthorized(Annotation a) throws AuthorizationException {
|
||||
|
||||
Reference in New Issue
Block a user