Skip to content

Commit

Permalink
#637 IDEA sometimes doesn't format on save :(
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-git committed Aug 29, 2024
1 parent 72b1576 commit 8dc9994
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,18 +391,18 @@ object EventualCassandraTest {
}

val selectOffset2: Pointer2Statements.SelectOffset[StateT] = { (topic: Topic, partition: Partition) =>
{
StateT.success { state =>
val offset = for {
pointers <- state.pointers.get(topic)
pointer <- pointers.get(partition)
} yield {
pointer.offset
{
StateT.success { state =>
val offset = for {
pointers <- state.pointers.get(topic)
pointer <- pointers.get(partition)
} yield {
pointer.offset
}
(state, offset)
}
(state, offset)
}
}
}

val updatePointer: PointerStatements.Update[StateT] = {
(topic: Topic, partition: Partition, offset: Offset, timestamp: Instant) =>
Expand Down

0 comments on commit 8dc9994

Please sign in to comment.