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

spotbugs corrections

parent 52b00cc3
No related branches found
No related tags found
2 merge requests!577Production Release | nshmp-haz,!573Dependency updates
......@@ -92,14 +92,14 @@ class NshmTestsLarge {
private static final Path DATA_PATH = Paths.get("src/test/resources/e2e");
@Test
public void testConus2018() throws IOException {
public void testConus2018() {
testModel("nshm-conus", 2018, CONUS_SITES);
}
private static void testModel(
String modelName,
int year,
List<NamedLocation> locations) throws IOException {
List<NamedLocation> locations) {
Path modelPath = MODEL_PATH.resolve(modelName);
HazardModel model = ModelLoader.load(modelPath);
......@@ -112,7 +112,7 @@ class NshmTestsLarge {
String modelName,
int year,
HazardModel model,
NamedLocation location) throws IOException {
NamedLocation location) {
// String actual = generateActual(model, location);
Map<String, XySequence> actual = generateActual(model, location);
......@@ -209,6 +209,11 @@ class NshmTestsLarge {
private static class Curve {
double[] xs;
double[] ys;
Curve(double[] xs, double[] ys) {
this.xs = xs;
this.ys = ys;
}
}
private static void writeExpecteds(
......
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