Skip to content
Snippets Groups Projects
Commit 7315b9da authored by BMItter's avatar BMItter
Browse files

nullable not needed

parent e4b248ed
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,9 @@ interface ContactDiaryElement {
val people: List<Person>
val locations: List<Location>
val numberOfPersons: Int?
get() = people?.size
val numberOfPersons: Int
get() = people.size
val numberOfLocations: Int?
get() = locations?.size
val numberOfLocations: Int
get() = locations.size
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment