mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	null checks
This commit is contained in:
		
							parent
							
								
									54fbf666fd
								
							
						
					
					
						commit
						46507f10b6
					
				@ -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) {
 | 
			
		||||
@ -282,6 +283,7 @@ public class EndpointConfiguration {
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    	}
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public Set<String> getEndpointsForGroup(String group) {
 | 
			
		||||
        return endpointGroups.getOrDefault(group, new HashSet<>());
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user