Skip to content

Commit

Permalink
#384 fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jemacineiras committed Jan 22, 2024
1 parent 077e60f commit 1c5e5e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public final SampleResult sample(final Entry entry) {
return sampleResult;
}

@SuppressWarnings("checkstyle:DesignForExtension")
public KafkaProducer getKafkaProducer() {
return new KafkaProducer<>(extractProps());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

public class AsyncapiSamplerWrapper extends AsyncApiSampler {

private KafkaProducer kafkaProducer;

protected AsyncapiSamplerWrapper(final KafkaProducer kafkaProducer) {
this.kafkaProducer = kafkaProducer;
}

private KafkaProducer kafkaProducer;

@Override
public KafkaProducer getKafkaProducer() {
public final KafkaProducer getKafkaProducer() {
return kafkaProducer;
}
}

0 comments on commit 1c5e5e9

Please sign in to comment.