Commit 5a5a7be4 authored by Phillip Webb's avatar Phillip Webb

Polish

parent 7a8be3d6
...@@ -45,6 +45,7 @@ import org.springframework.security.config.annotation.authentication.configurers ...@@ -45,6 +45,7 @@ import org.springframework.security.config.annotation.authentication.configurers
* Configuration for a Spring Security in-memory {@link AuthenticationManager}. * Configuration for a Spring Security in-memory {@link AuthenticationManager}.
* *
* @author Dave Syer * @author Dave Syer
* @author Rob Winch
*/ */
@Configuration @Configuration
@ConditionalOnBean(ObjectPostProcessor.class) @ConditionalOnBean(ObjectPostProcessor.class)
...@@ -107,8 +108,6 @@ public class AuthenticationManagerConfiguration extends ...@@ -107,8 +108,6 @@ public class AuthenticationManagerConfiguration extends
* allowed in the configure stage. It is not allowed because we guarantee all init * allowed in the configure stage. It is not allowed because we guarantee all init
* methods are invoked before configure, which cannot be guaranteed at this point.</li> * methods are invoked before configure, which cannot be guaranteed at this point.</li>
* </ul> * </ul>
*
* @author Rob Winch
*/ */
private class BootDefaultingAuthenticationConfigurerAdapter extends private class BootDefaultingAuthenticationConfigurerAdapter extends
GlobalAuthenticationConfigurerAdapter { GlobalAuthenticationConfigurerAdapter {
......
...@@ -113,8 +113,8 @@ public class AutoConfigurationReportLoggingInitializerTests { ...@@ -113,8 +113,8 @@ public class AutoConfigurationReportLoggingInitializerTests {
ReflectionUtils.setField(this.logFactoryField, null, new MockLogFactory()); ReflectionUtils.setField(this.logFactoryField, null, new MockLogFactory());
} }
catch (Exception e) { catch (Exception ex) {
throw new IllegalStateException("Failed to set logFactory", e); throw new IllegalStateException("Failed to set logFactory", ex);
} }
this.initializer = new AutoConfigurationReportLoggingInitializer(); this.initializer = new AutoConfigurationReportLoggingInitializer();
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment