From 10d097372fb80b41f73c2317c57b510e4134afd3 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Mon, 4 Nov 2024 11:13:46 -0700
Subject: [PATCH] removed unused sysRupSet builder fields and methods

---
 .../nshmp/model/SystemRuptureSet.java         | 23 -------------------
 1 file changed, 23 deletions(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/model/SystemRuptureSet.java b/src/main/java/gov/usgs/earthquake/nshmp/model/SystemRuptureSet.java
index a9943527..329ccea2 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/model/SystemRuptureSet.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/model/SystemRuptureSet.java
@@ -473,17 +473,8 @@ public class SystemRuptureSet extends AbstractRuptureSet<SystemRuptureSet.System
     private Map<Integer, SystemSection> sectionMap;
     private Path ruptures;
 
-    /* Unfiltered UCERF3: FM31 = 253,706 FM32 = 305,709 */
-    static final int RUP_SET_SIZE = 306000;
-
     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) {
       super(type);
     }
@@ -520,20 +511,6 @@ public class SystemRuptureSet extends AbstractRuptureSet<SystemRuptureSet.System
       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) {
       validateState(label);
       checkNotNull(data, "%s model data", label);
-- 
GitLab