1
0
mirror of synced 2026-08-04 01:07:02 +00:00

Remove nullable from Kotlin example

Use `lateinit` instead of allowing NullPointerExceptions.
This commit is contained in:
Stian Jørgensrud
2024-05-28 15:14:14 +02:00
committed by Steve Riesenberg
parent 478c3d0313
commit 3cd9b77273
@@ -52,7 +52,7 @@ class CsrfShowcaseTests {
@Autowired
private lateinit var context: WebApplicationContext
private var mvc: MockMvc? = null
private lateinit var mvc: MockMvc
@BeforeEach
fun setup() {