Skip to content

Commit c236f4a

Browse files
Update scalafmt-core to 3.8.2 (#505)
* 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
1 parent 8fa5fd5 commit c236f4a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# Scala Steward: Reformat with scalafmt 3.7.13
22
45a8fb5960229db62e2efc7f721538a34717424c
3+
4+
# Scala Steward: Reformat with scalafmt 3.8.2
5+
e77fecfd3d411d51d9d555396647a190b50cf59d

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.8.1
1+
version = 3.8.2
22
preset = defaultWithAlign
33
docstrings.blankFirstLine = yes
44
newlines.implicitParamListModifierPrefer = before

embedded-kafka/src/main/scala/io/github/embeddedkafka/ops/ConsumerOps.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ trait ConsumerOps[C <: EmbeddedKafkaConfig] {
298298
while (recordIter.hasNext && messagesRead < number) {
299299
val record = recordIter.next
300300
messagesBuffers(record.topic) += (record.key -> record.value)
301-
val tp = new TopicPartition(record.topic, record.partition)
302-
val om = new OffsetAndMetadata(record.offset + 1)
301+
val tp = new TopicPartition(record.topic, record.partition)
302+
val om = new OffsetAndMetadata(record.offset + 1)
303303
consumer.commitSync(Map(tp -> om).asJava)
304304
messagesRead += 1
305305
}

0 commit comments

Comments
 (0)