From f57ddff478eff45706550b01485315ed4f913a98 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 16 Feb 2017 10:04:49 +0100 Subject: [PATCH] Remove dead code Closes gh-8305 --- .../SpringBootWebSecurityConfiguration.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java index 7335ddf2dc..698fae5f8b 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2016 the original author or authors. + * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -142,17 +142,6 @@ public class SpringBootWebSecurityConfiguration { } } - public static List getIgnored(SecurityProperties security) { - List ignored = new ArrayList(security.getIgnored()); - if (ignored.isEmpty()) { - ignored.addAll(DEFAULT_IGNORED); - } - else if (ignored.contains("none")) { - ignored.remove("none"); - } - return ignored; - } - // Get the ignored paths in early @Order(SecurityProperties.IGNORED_ORDER) private static class IgnoredPathsWebSecurityConfigurerAdapter