Skip to content

Commit 8ba71c8

Browse files
committed
Polish
1 parent b20d02a commit 8ba71c8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/AuthenticationManagerConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ public LazyAuthenticationManager(AuthenticationManagerBuilder builder) {
207207
@Override
208208
public Authentication authenticate(Authentication authentication)
209209
throws AuthenticationException {
210-
return builder.getOrBuild().authenticate(authentication);
210+
return this.builder.getOrBuild().authenticate(authentication);
211211
}
212212

213213
}

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/SecurityAutoConfigurationTests.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616

1717
package org.springframework.boot.autoconfigure.security;
1818

19-
import static org.junit.Assert.assertEquals;
20-
import static org.junit.Assert.assertNotNull;
21-
import static org.junit.Assert.assertTrue;
22-
import static org.junit.Assert.fail;
23-
2419
import java.util.List;
2520
import java.util.concurrent.atomic.AtomicReference;
2621

@@ -57,6 +52,11 @@
5752
import org.springframework.security.web.SecurityFilterChain;
5853
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext;
5954

55+
import static org.junit.Assert.assertEquals;
56+
import static org.junit.Assert.assertNotNull;
57+
import static org.junit.Assert.assertTrue;
58+
import static org.junit.Assert.fail;
59+
6060
/**
6161
* Tests for {@link SecurityAutoConfiguration}.
6262
*

0 commit comments

Comments
 (0)