diff --git a/src/main/java/gov/usgs/earthquake/nshmp/model/Models.java b/src/main/java/gov/usgs/earthquake/nshmp/model/Models.java index aa70ac9930da148d1383415fd84cf6475edd2a95..b823cdb5a66ddf1978fe70c6a89b74cdf93f8046 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/model/Models.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/model/Models.java @@ -17,9 +17,6 @@ import java.util.function.Predicate; import java.util.stream.Collectors; import java.util.stream.IntStream; -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; - import gov.usgs.earthquake.nshmp.data.XySequence; import gov.usgs.earthquake.nshmp.geo.json.Feature; import gov.usgs.earthquake.nshmp.geo.json.FeatureCollection; @@ -37,10 +34,6 @@ import gov.usgs.earthquake.nshmp.tree.LogicTree; */ public class Models { - static final Gson GSON = new GsonBuilder() - .setPrettyPrinting() - .create(); - /** * Returns an object for JSON serialization with the name and ID of all source * logic tree groups in the supplied model organized by tectonic setting and @@ -226,7 +219,7 @@ public class Models { /* * Map source tree into a logic tree of MFDs. Note that the mfdTree - * created below is actually a LogicGroup becuase a SourceTree may contain + * created below is actually a LogicGroup because a SourceTree may contain * null (do-nothing) branches such that weights do not sum to one. */ LogicTree<Mfd> mfdTree = ModelTrees.toMfdTree(tree);