Cleanup using AndroidStudio analyze.

This commit is contained in:
Dennis Guse
2021-12-30 11:46:27 +01:00
parent 0cd22a8ba0
commit 55d3502ff9
14 changed files with 43 additions and 58 deletions
@@ -372,7 +372,7 @@ public class GPXTrackExporter implements TrackExporter {
return Stream.concat(sensorPoints.stream(), Stream.of(trackPoint))
.map(map)
.filter(Objects::nonNull)
.reduce((gain, next) -> gain + next)
.reduce(Double::sum)
.orElse(null);
}