Skip to content

Commit 2b56227

Browse files
chore: fix style
1 parent 8bd838e commit 2b56227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/app/utils/Misc.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fun <T> Sequence<T>.batch(n: Int): Sequence<List<T>> {
1010
}
1111

1212
class BatchingSequence<T>(val source: Sequence<T>,
13-
val batchSize: Int) : Sequence<List<T>> {
13+
val batchSize: Int) : Sequence<List<T>> {
1414
override fun iterator(): Iterator<List<T>> = object :
1515
AbstractIterator<List<T>>() {
1616
val iterate = if (batchSize > 0) source.iterator() else
@@ -21,4 +21,4 @@ class BatchingSequence<T>(val source: Sequence<T>,
2121
else done()
2222
}
2323
}
24-
}
24+
}

0 commit comments

Comments
 (0)