Skip to content

Commit 73bb4b9

Browse files
GH-2560 - Fix warnings in Kotlin test-classes.
Closes #2560.
1 parent 10e0f86 commit 73bb4b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/kotlin/org/springframework/data/neo4j/integration/imperative/KotlinInheritanceIT.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class KotlinInheritanceIT @Autowired constructor(
229229
return BookmarkCapture()
230230
}
231231

232-
override fun getMappingBasePackages(): Collection<String>? {
232+
override fun getMappingBasePackages(): Collection<String> {
233233
return setOf(Inheritance::class.java.getPackage().name)
234234
}
235235

src/test/kotlin/org/springframework/data/neo4j/integration/imperative/KotlinProjectionIT.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ internal class KotlinProjectionIT {
127127
/**
128128
* Make sure that particular entity is know. This is essential to all tests GH-2349
129129
*/
130-
override fun getMappingBasePackages(): Collection<String>? {
130+
override fun getMappingBasePackages(): Collection<String> {
131131
return listOf(DepartmentEntity::class.java.getPackage().name)
132132
}
133133

0 commit comments

Comments
 (0)