Skip to content
Snippets Groups Projects
Commit 7616d854 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Return as tree map

parent a39e69e8
No related branches found
No related tags found
2 merge requests!103Production Release | nshmp-ws-static,!102Resolves - Handle Vs30 Map Attribute
......@@ -5,6 +5,7 @@ import static com.google.common.base.Preconditions.checkState;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import gov.usgs.earthquake.nshmp.geo.Bounds;
import gov.usgs.earthquake.nshmp.geo.Location;
......@@ -90,7 +91,7 @@ public class NetcdfData {
* Returns the VS30 map
*/
public Map<NehrpSiteClass, Double> vs30Map() {
return Map.copyOf(vs30Map);
return new TreeMap<>(vs30Map);
}
public static Builder builder() {
......
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