mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 21:42:17 +00:00
Remove nullable from Kotlin example
Use `lateinit` instead of allowing NullPointerExceptions.
This commit is contained in:
parent
478c3d0313
commit
3cd9b77273
@ -52,7 +52,7 @@ class CsrfShowcaseTests {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private lateinit var context: WebApplicationContext
|
private lateinit var context: WebApplicationContext
|
||||||
|
|
||||||
private var mvc: MockMvc? = null
|
private lateinit var mvc: MockMvc
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
fun setup() {
|
fun setup() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user