Skip to content

Commit

Permalink
Fixes and cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
lciolecki committed Nov 4, 2024
1 parent a1ab027 commit c700736
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ConsumerRecordSerializerSpec extends AnyFunSuite with Matchers with TableD
}

private def createConsumerRecord[K, V](key: K, value: V): ConsumerRecord[K, V] = {
val timestampTypes = List.from(TimestampType.values())
val timestampTypes = TimestampType.values().toList
val timestampType = timestampTypes(Random.nextInt(timestampTypes.length))

val leaderEpoch =
Expand All @@ -82,8 +82,6 @@ class ConsumerRecordSerializerSpec extends AnyFunSuite with Matchers with TableD
headers
}

val t = Random.nextString()

new ConsumerRecord[K, V](
Random.nextString(),
Random.nextInt(),
Expand Down

0 comments on commit c700736

Please sign in to comment.