Skip to content
Snippets Groups Projects
Commit be7f0155 authored by Altekruse, Jason Morgan's avatar Altekruse, Jason Morgan
Browse files

Apply suggestion to src/main/java/gov/usgs/earthquake/nshmp/data/Sequences.java

parent 79c248fd
No related branches found
No related tags found
1 merge request!93XySequence edits
...@@ -102,7 +102,7 @@ class Sequences { ...@@ -102,7 +102,7 @@ class Sequences {
var combinedMap = xySequences.stream() var combinedMap = xySequences.stream()
.flatMap(XySequence::stream) .flatMap(XySequence::stream)
.collect(Collectors.toMap( .collect(Collectors.toMap(
(XyPoint xy) -> (double) xy.x(), XyPoint::x,
(XyPoint xy) -> (double) xy.y(), (XyPoint xy) -> (double) xy.y(),
(a, b) -> a + b, (a, b) -> a + b,
TreeMap::new)); TreeMap::new));
......
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