Skip to content

Commit

Permalink
Fix checkstyle violation
Browse files Browse the repository at this point in the history
  • Loading branch information
bky373 committed Oct 25, 2024
1 parent 346b52b commit 3058e77
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ public Message<?> toMessage(List<ConsumerRecord<?, ?>> records, @Nullable Acknow
if (obj instanceof String) {
listenerInfo = (String) obj;
}
} else {
}
else {
natives.add(record.headers());
}
if (this.rawRecordHeader) {
Expand Down Expand Up @@ -210,8 +211,8 @@ private void addToRawHeaders(Map<String, Object> rawHeaders, List<Map<String, Ob
}

private void addRecordInfo(ConsumerRecord<?, ?> record, Type type, List<Object> payloads, List<Object> keys,
List<String> topics, List<Integer> partitions, List<Long> offsets, List<String> timestampTypes,
List<Long> timestamps, List<ConversionException> conversionFailures) {
List<String> topics, List<Integer> partitions, List<Long> offsets, List<String> timestampTypes,
List<Long> timestamps, List<ConversionException> conversionFailures) {
payloads.add(obtainPayload(type, record, conversionFailures));
keys.add(record.key());
topics.add(record.topic());
Expand Down

0 comments on commit 3058e77

Please sign in to comment.