Skip to content
Snippets Groups Projects

Add generic database interface in UC1 to support different storage types

Merged Sören Henning requested to merge uc1-database-interface into master
2 files
+ 3
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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);
}
Loading