File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
src/main/java/de/rwth/idsg/steve/ocpp/converter Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -302,12 +302,9 @@ private static MeterValue toOcpp16MeterValue(ocpp.cs._2012._06.MeterValue e) {
302
302
}
303
303
304
304
private static List <MeterValue > toOcpp16TransactionData (List <TransactionData > transactionData ) {
305
- List <ocpp .cs ._2012 ._06 .MeterValue > combinedList = transactionData .stream ()
306
- .flatMap (data -> data .getValues ().stream ())
307
- .collect (Collectors .toList ());
308
-
309
- return combinedList .stream ()
310
- .map (Server15to16Impl ::toOcpp16MeterValue )
311
- .collect (Collectors .toList ());
305
+ return transactionData .stream ()
306
+ .flatMap (data -> data .getValues ().stream ())
307
+ .map (Server15to16Impl ::toOcpp16MeterValue )
308
+ .collect (Collectors .toList ());
312
309
}
313
310
}
You can’t perform that action at this time.
0 commit comments