Merge pull request #79 from Naccl/master

refactor(ResourceServerManager.java): 多余的 Convert
This commit is contained in:
郝先瑞 2022-03-19 20:40:19 +08:00 committed by GitHub
commit 068454a357

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;
}