Skip to content

Commit

Permalink
#332 Fix checkstyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jemacineiras committed Oct 4, 2023
1 parent 8a19eee commit be0cdb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ void configureKeyGeneratorTest(final String jmeterProps) throws IOException {
props.put(SchemaRegistryKeyHelper.SCHEMA_REGISTRY_URL, "localhost:8081");
props.put(PropsKeysHelper.KEY_SCHEMA_TYPE, jmeterProps);

if (jmeterProps.equalsIgnoreCase("json")) {
if ("json".equalsIgnoreCase(jmeterProps)) {
jmcx.setVariables(getVariablesJsonSchema());
}
if (jmeterProps.equalsIgnoreCase("avro")) {
if ("avro".equalsIgnoreCase(jmeterProps)) {
jmcx.setVariables(getVariablesAvro());
}
if (jmeterProps.equalsIgnoreCase("protobuf")) {
if ("protobuf".equalsIgnoreCase(jmeterProps)) {
jmcx.setVariables(getVariablesProtobuf());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import java.util.stream.Stream;
import java.util.stream.Stream.Builder;

import javax.xml.bind.DatatypeConverter;

import com.sngular.kloadgen.common.SchemaTypeEnum;
import com.sngular.kloadgen.model.FieldValueMapping;
import com.sngular.kloadgen.processor.SchemaProcessor;
Expand All @@ -14,7 +16,6 @@
import com.sngular.kloadgen.testutil.SchemaParseUtil;
import com.sngular.kloadgen.util.PropsKeysHelper;
import io.confluent.kafka.schemaregistry.ParsedSchema;
import javax.xml.bind.DatatypeConverter;
import lombok.extern.slf4j.Slf4j;
import org.assertj.core.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
Expand Down

0 comments on commit be0cdb6

Please sign in to comment.