From 9805643e417c6c2436bdedf8f78fb14a797cd6ba Mon Sep 17 00:00:00 2001 From: Andreas Ahlenstorf Date: Wed, 27 May 2015 13:49:15 +0200 Subject: [PATCH] Fix spring-security versions Closes gh-3050 --- .../actuate/autoconfigure/CrshAutoConfigurationTests.java | 8 ++++---- spring-boot-dependencies/pom.xml | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/CrshAutoConfigurationTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/CrshAutoConfigurationTests.java index 8f6581fd3db..e4d54690c27 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/CrshAutoConfigurationTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/CrshAutoConfigurationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2014 the original author or authors. + * Copyright 2012-2015 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. @@ -60,6 +60,7 @@ import static org.junit.Assert.assertTrue; * Tests for {@link CrshAutoConfiguration}. * * @author Christian Dupuis + * @author Andreas Ahlenstorf */ @SuppressWarnings({ "rawtypes", "unchecked" }) public class CrshAutoConfigurationTests { @@ -373,12 +374,11 @@ public class CrshAutoConfigurationTests { @Bean public AccessDecisionManager shellAccessDecisionManager() { - List voters = new ArrayList(); + List> voters = new ArrayList>(); RoleVoter voter = new RoleVoter(); voter.setRolePrefix(""); voters.add(voter); - AccessDecisionManager result = new UnanimousBased(voters); - return result; + return new UnanimousBased(voters); } } diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index b7885f00bdf..a442774e9c6 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -131,13 +131,11 @@ 1.2.0.RELEASE 4.0.1.RELEASE 1.0.3.RELEASE + 2.0.7.RELEASE 1.1.2.RELEASE 2.0.1.RELEASE 1.0.1.RELEASE 1.1.0.RELEASE - 3.2.5.RELEASE - 2.0.7.RELEASE - 1.0.2.RELEASE 2.2.1.RELEASE 3.1.0 2.1.0