BAEL-382 formatting

This commit is contained in:
Tomasz Lelek 2017-01-02 16:37:59 +01:00
parent 77fba546b3
commit b167fc5315
2 changed files with 0 additions and 2 deletions

View File

@ -1,4 +1,3 @@
package com.baeldung
data class Item(val id: String, val name: String = "unknown_name")

View File

@ -2,7 +2,6 @@ package com.baeldung
import java.util.concurrent.ThreadLocalRandom
class ListExtension {
fun <T> List<T>.random(): T? {
if (this.isEmpty()) return null