Skip to content

Commit

Permalink
remove redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Tan-JiaLiang committed Sep 27, 2023
1 parent d4af947 commit db787b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void testLatestOffsetsInitializer() {
assertThat(offsets).hasSameSizeAs(partitions);
assertThat(offsets.keySet()).containsAll(partitions);
for (long offset : offsets.values()) {
assertThat(offset).isEqualTo((long) KafkaSourceTestEnv.NUM_RECORDS_PER_PARTITION);
assertThat(offset).isEqualTo(KafkaSourceTestEnv.NUM_RECORDS_PER_PARTITION);
}
assertThat(initializer.getAutoOffsetResetStrategy()).isEqualTo(OffsetResetStrategy.LATEST);
}
Expand Down

0 comments on commit db787b3

Please sign in to comment.