``` interface EntityRepository<T> { fun...
# announcements
b
Copy code
interface EntityRepository<T> {

    fun fullTextSearch(text: String?, selectedIds: Array<String>?, exclude: Boolean?, size: Int): List<T>

    fun textSearch(text: String?, size: Int): List<T> {
        return fullTextSearch(text, null, null, size)
    }
}
c
This is not "really" a default method on JVM. You have to explicitly mark it as one if you want it to work like it does in Java: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-default/index.html
b
Thank you