Skip to content

Commit

Permalink
[TH2-5234] corrected after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Smirnov-Exactpro committed Sep 3, 2024
1 parent ba1a061 commit 5ac9e88
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import kotlinx.coroutines.delay
import kotlinx.coroutines.isActive
import kotlinx.coroutines.launch
import java.time.Instant
import com.exactpro.cradle.Order as CradleOrder


class MessageExtractor<B, G, RM, PM>(
Expand All @@ -68,7 +69,7 @@ class MessageExtractor<B, G, RM, PM>(
private var lastElement: StoredMessageId? = null
private var lastTimestamp: Instant? = null

private val order = when(request.searchDirection) {
private val order: CradleOrder = when(request.searchDirection) {
BEFORE -> REVERSE
AFTER -> DIRECT
}
Expand Down

0 comments on commit 5ac9e88

Please sign in to comment.