From 52ff6a0eb7076020a4403a9f8208ca0dafff2d8e Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Wed, 3 Feb 2021 13:13:28 -0700 Subject: [PATCH] cleanup --- .../java/gov/usgs/earthquake/nshmp/www/meta/Parameter.java | 1 - .../usgs/earthquake/nshmp/www/services/HazardService.java | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/gov/usgs/earthquake/nshmp/www/meta/Parameter.java b/src/main/java/gov/usgs/earthquake/nshmp/www/meta/Parameter.java index 7b32b1825..c6463c3ba 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/www/meta/Parameter.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/www/meta/Parameter.java @@ -1,6 +1,5 @@ package gov.usgs.earthquake.nshmp.www.meta; -@SuppressWarnings("unused") public class Parameter { private final String display; diff --git a/src/main/java/gov/usgs/earthquake/nshmp/www/services/HazardService.java b/src/main/java/gov/usgs/earthquake/nshmp/www/services/HazardService.java index 33c62435d..46baebefd 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/www/services/HazardService.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/www/services/HazardService.java @@ -247,11 +247,11 @@ public final class HazardService { private static final class ResponseData { final ResponseMetadata metadata; - final List<HazardResponse> hazards; + final List<HazardResponse> hazardCurves; - ResponseData(ResponseMetadata metadata, List<HazardResponse> hazards) { + ResponseData(ResponseMetadata metadata, List<HazardResponse> hazardCurves) { this.metadata = metadata; - this.hazards = hazards; + this.hazardCurves = hazardCurves; } } -- GitLab