Skip to content

Commit 64891b3

Browse files
committed
GH-2061: Remove Unused Variable
1 parent b72a37f commit 64891b3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-kafka-test/src/main/java/org/springframework/kafka/test/EmbeddedKafkaBroker.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,6 @@ public void onPartitionsAssigned(Collection<TopicPartition> partitions) {
776776
records = consumer.poll(Duration.ofMillis(100)); // force assignment NOSONAR magic #
777777
}
778778
if (assigned.get() != null) {
779-
final ConsumerRecords<?, ?> theRecords = records;
780779
logger.debug(() -> "Partitions assigned "
781780
+ assigned.get()
782781
+ "; re-seeking to "

0 commit comments

Comments
 (0)