Skip to content
Snippets Groups Projects
Commit 1aa465f2 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

simplify

parent a7210649
No related branches found
No related tags found
1 merge request!816GMM Services
......@@ -2,6 +2,7 @@ package gov.usgs.earthquake.nshmp.www;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Arrays;
import org.eclipse.jgit.api.Git;
......@@ -15,10 +16,7 @@ public class HazVersion implements AppVersion {
private static final String MODEL_FILE = "model-version.json";
public static VersionInfo[] appVersions(Path modelPath) {
var versions = new ArrayList<VersionInfo>();
versions.add(new HazVersion().getVersionInfo());
versions.add(new LibVersion().getVersionInfo());
var versions = Arrays.asList(versions());
var nshmVersion = getNshmVersion(modelPath);
if (nshmVersion != null) {
......
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