From bf86339e22b6084b529e8b62bde7de80e2ed6a70 Mon Sep 17 00:00:00 2001 From: Kevin Milner Date: Thu, 14 Mar 2024 09:35:21 -0700 Subject: [PATCH] methods now static --- .../faultSysSolution/util/MergedSolutionCreator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/opensha/sha/earthquake/faultSysSolution/util/MergedSolutionCreator.java b/src/main/java/org/opensha/sha/earthquake/faultSysSolution/util/MergedSolutionCreator.java index ae0d650c7..299bbc243 100644 --- a/src/main/java/org/opensha/sha/earthquake/faultSysSolution/util/MergedSolutionCreator.java +++ b/src/main/java/org/opensha/sha/earthquake/faultSysSolution/util/MergedSolutionCreator.java @@ -21,7 +21,7 @@ public class MergedSolutionCreator { * @param sols * @return */ - public FaultSystemSolution merge(List sols) { + public static FaultSystemSolution merge(List sols) { return merge(sols.toArray(new FaultSystemSolution[0])); } @@ -32,7 +32,7 @@ public FaultSystemSolution merge(List sols) { * @param sols * @return */ - public FaultSystemSolution merge(FaultSystemSolution... sols) { + public static FaultSystemSolution merge(FaultSystemSolution... sols) { Preconditions.checkState(sols.length > 1, "Need at least 2 solutions to merge"); int totNumSects = 0;