refactor(ResourceServerManager.java): 多余的 Convert

This commit is contained in:
Naccl 2022-03-11 22:43:05 +08:00 committed by GitHub
parent 2a7351d69f
commit 5b74e741b7

View File

@ -75,7 +75,7 @@ public class ResourceServerManager implements ReactiveAuthorizationManager<Autho
String perm = permRoles.getKey();
if (pathMatcher.match(perm, restfulPath)) {
List<String> roles = Convert.toList(String.class, permRoles.getValue());
authorizedRoles.addAll(Convert.toList(String.class, roles));
authorizedRoles.addAll(roles);
if (requireCheck == false) {
requireCheck = true;
}