8000 io-to-data.17 : constrainOnce (fails tests) · java-to-kotlin/code@9c94e17 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c94e17

Browse files
Duncan McGregordmcg
authored andcommitted
io-to-data.17 : constrainOnce (fails tests)
1 parent e3ece82 commit 9c94e17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/travelator/marketing/HighValueCustomersReport.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package travelator.marketing
33
fun generate(lines: List<String>): Sequence<String> {
44
val valuableCustomers: Sequence<CustomerData> = lines
55
.asSequence()
6+
.constrainOnce()
67
.withoutHeader()
78
.map(String::toCustomerData)
89
.filter { it.score >= 10 }

0 commit comments

Comments
 (0)
0