Skip to content
Snippets Groups Projects
Commit 10d09737 authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

removed unused sysRupSet builder fields and methods

parent 84561f73
No related branches found
No related tags found
1 merge request!432General edits and improvements
...@@ -473,17 +473,8 @@ public class SystemRuptureSet extends AbstractRuptureSet<SystemRuptureSet.System ...@@ -473,17 +473,8 @@ public class SystemRuptureSet extends AbstractRuptureSet<SystemRuptureSet.System
private Map<Integer, SystemSection> sectionMap; private Map<Integer, SystemSection> sectionMap;
private Path ruptures; private Path ruptures;
/* Unfiltered UCERF3: FM31 = 253,706 FM32 = 305,709 */
static final int RUP_SET_SIZE = 306000;
static final String ID = "SystemRuptureSet.Builder"; static final String ID = "SystemRuptureSet.Builder";
private List<GriddedSurface> sections;
private List<String> sectionNames;
private double mMin = Double.POSITIVE_INFINITY;
private double mMax = Double.NEGATIVE_INFINITY;
private Builder(SourceType type) { private Builder(SourceType type) {
super(type); super(type);
} }
...@@ -520,20 +511,6 @@ public class SystemRuptureSet extends AbstractRuptureSet<SystemRuptureSet.System ...@@ -520,20 +511,6 @@ public class SystemRuptureSet extends AbstractRuptureSet<SystemRuptureSet.System
return this; return this;
} }
Builder sections(List<GriddedSurface> sections) {
checkNotNull(sections, "Section surface list is null");
checkArgument(sections.size() > 0, "Section surface list is empty");
this.sections = sections;
return this;
}
Builder sectionNames(List<String> names) {
checkNotNull(names, "Section name list is null");
checkArgument(names.size() > 0, "Section name list is empty");
this.sectionNames = names;
return this;
}
private void validateAndInit(String label) { private void validateAndInit(String label) {
validateState(label); validateState(label);
checkNotNull(data, "%s model data", label); checkNotNull(data, "%s model data", label);
......
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