Skip to content

Commit

Permalink
Update scalafmt-core to 3.8.2 (#505)
Browse files Browse the repository at this point in the history
* Update scalafmt-core to 3.8.2

* Reformat with scalafmt 3.8.2

Executed command: scalafmt --non-interactive

* Add 'Reformat with scalafmt 3.8.2' to .git-blame-ignore-revs
  • Loading branch information
scala-steward authored Jun 17, 2024
1 parent 8fa5fd5 commit c236f4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Scala Steward: Reformat with scalafmt 3.7.13
45a8fb5960229db62e2efc7f721538a34717424c

# Scala Steward: Reformat with scalafmt 3.8.2
e77fecfd3d411d51d9d555396647a190b50cf59d
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.1
version = 3.8.2
preset = defaultWithAlign
docstrings.blankFirstLine = yes
newlines.implicitParamListModifierPrefer = before
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ trait ConsumerOps[C <: EmbeddedKafkaConfig] {
while (recordIter.hasNext && messagesRead < number) {
val record = recordIter.next
messagesBuffers(record.topic) += (record.key -> record.value)
val tp = new TopicPartition(record.topic, record.partition)
val om = new OffsetAndMetadata(record.offset + 1)
val tp = new TopicPartition(record.topic, record.partition)
val om = new OffsetAndMetadata(record.offset + 1)
consumer.commitSync(Map(tp -> om).asJava)
messagesRead += 1
}
Expand Down

0 comments on commit c236f4a

Please sign in to comment.