Skip to content
Snippets Groups Projects
Commit b6d305b4 authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Remove unnecessary SuppressWarnings beam-commons

parent 51b94420
No related branches found
No related tags found
1 merge request!187Migrate Beam benchmark implementation
......@@ -24,7 +24,6 @@ public class KafkaActivePowerRecordReader extends
/**
* Instantiates a {@link PTransform} that reads from Kafka with the given Configuration.
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public KafkaActivePowerRecordReader(final String bootstrapServer, final String inputTopic,
final Map<String, Object> consumerConfig) {
super();
......
......@@ -25,9 +25,8 @@ public class KafkaActivePowerTimestampReader extends
/**
* Instantiates a {@link PTransform} that reads from Kafka with the given Configuration.
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public KafkaActivePowerTimestampReader(final String bootstrapServer, final String inputTopic,
final Map consumerConfig) {
final Map<String, Object> consumerConfig) {
super();
// Check if boostrap server and inputTopic are defined
......
......@@ -22,9 +22,8 @@ public class KafkaGenericReader<K, V> extends
/**
* Instantiates a {@link PTransform} that reads from Kafka with the given Configuration.
*/
@SuppressWarnings({"unchecked", "rawtypes"})
public KafkaGenericReader(final String bootstrapServer, final String inputTopic,
final Map consumerConfig,
final Map<String, Object> consumerConfig,
final Class<? extends
org.apache.kafka.common.serialization.Deserializer<K>>
keyDeserializer,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment