BAEL-382 formatting
This commit is contained in:
parent
77fba546b3
commit
b167fc5315
|
@ -1,4 +1,3 @@
|
|||
package com.baeldung
|
||||
|
||||
|
||||
data class Item(val id: String, val name: String = "unknown_name")
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue