mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-08 00:49:21 +08:00
作用域,public
This commit is contained in:
@@ -57,7 +57,7 @@ public abstract class AbstractAuthorizationEvent extends ApplicationEvent implem
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
protected <T> Optional<T> getParameter(String name) {
|
||||
public <T> Optional<T> getParameter(String name) {
|
||||
return Optional.ofNullable((T) parameterGetter.apply(name));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user