diff --git a/src/main/java/gov/usgs/earthquake/nshmp/model/SourceTree.java b/src/main/java/gov/usgs/earthquake/nshmp/model/SourceTree.java index 1c3efd010f997920f590fc72e254cff9ba8383ba..835e39a0718e10aa4435600fa867917512f219ac 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/model/SourceTree.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/model/SourceTree.java @@ -84,21 +84,10 @@ public class SourceTree { /** The type of sources in this tree. */ public SourceType type() { + // TODO what should this return for mixed fault/cluster ?? return type; } - // TODO want to get rid of this but currently needed - // to distinguish trees made up of CLUSTER and FAULT - @Deprecated - public boolean singleType() { - // leafBranches.keySet().forEach(System.out::println); - return leafBranches.keySet().stream() - .map(Leaf::ruptureSet) - .map(RuptureSet::type) - .distinct() - .count() == 1; - } - /** The ground motion models to use with this tree. */ public GmmSet gmms() { return gmms;