mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-02 02:43:59 +08:00
增加空检查
This commit is contained in:
@@ -560,6 +560,7 @@ public class SimpleAuthorizationSettingService extends GenericEntityService<Auth
|
||||
dataAccessConfigs.addAll(detail.getDataAccesses()
|
||||
.stream()
|
||||
.map(dataAccessFactory::create)
|
||||
.filter(Objects::nonNull)
|
||||
.collect(Collectors.toSet()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user