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

Fix uc3-beam pmd error

parent c3184b4a
No related branches found
No related tags found
1 merge request!187Migrate Beam benchmark implementation
Pipeline #5438 failed
......@@ -17,7 +17,7 @@ public class MapTimeFormat extends SimpleFunction<KV<String, ActivePowerRecord>,
private final ZoneId zone = ZoneId.of("Europe/Paris");
@Override
public KV<application.HourOfDayKey, ActivePowerRecord> apply(
public KV<HourOfDayKey, ActivePowerRecord> apply(
final KV<String, ActivePowerRecord> kv) {
final Instant instant = Instant.ofEpochMilli(kv.getValue().getTimestamp());
final LocalDateTime dateTime = LocalDateTime.ofInstant(instant, this.zone);
......
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