null checks

This commit is contained in:
Anthony Stirling 2025-01-04 12:41:29 +00:00
parent 54fbf666fd
commit 46507f10b6

View File

@ -265,6 +265,7 @@ public class EndpointConfiguration {
}
private void processEnvironmentConfigs() {
if(applicationProperties != null && applicationProperties.getEndpoints() != null) {
List<String> endpointsToRemove = applicationProperties.getEndpoints().getToRemove();
List<String> groupsToRemove = applicationProperties.getEndpoints().getGroupsToRemove();
if (!bookAndHtmlFormatsInstalled) {
@ -281,6 +282,7 @@ public class EndpointConfiguration {
disableGroup(group.trim());
}
}
}
}
public Set<String> getEndpointsForGroup(String group) {