Skip to content
Snippets Groups Projects
Commit de5bb091 authored by Sören Henning's avatar Sören Henning
Browse files

Fix PMD warnings

parent 00fcda9f
No related branches found
No related tags found
1 merge request!238Add generic database interface in UC1 to support different storage types
This commit is part of merge request !238. Comments created here will be created in the context of that merge request.
......@@ -15,7 +15,8 @@ public class ConverterAdapter<T> extends SimpleFunction<ActivePowerRecord, T> {
private final RecordConverter<T> recordConverter;
private final TypeDescriptor<T> type;
public ConverterAdapter(final RecordConverter<T> recordConverter, Class<T> type) {
public ConverterAdapter(final RecordConverter<T> recordConverter, final Class<T> type) {
super();
this.recordConverter = recordConverter;
this.type = TypeDescriptor.of(type);
}
......
......@@ -14,6 +14,7 @@ public class WriterAdapter<T> extends DoFn<T, Void> {
private final DatabaseWriter<T> databaseWriter;
public WriterAdapter(final DatabaseWriter<T> databaseWriter) {
super();
this.databaseWriter = databaseWriter;
}
......
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