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
1 changed files with 1 additions and 1 deletions

View File

@ -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() {