https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
r

ron

04/09/2017, 6:02 PM
well I think this is better:
Copy code
fun findParentOfGroupByUUID(uuid: UUID) :Group?{
        val grouptofind = findGroupByUUID(uuid)
        return keepassFile?.groups?.filter { it.groups.contains(grouptofind) }?.first()

    }