Skip to content

Commit

Permalink
methods now static
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmilner committed Mar 14, 2024
1 parent cded561 commit bf86339
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class MergedSolutionCreator {
* @param sols
* @return
*/
public FaultSystemSolution merge(List<FaultSystemSolution> sols) {
public static FaultSystemSolution merge(List<FaultSystemSolution> sols) {
return merge(sols.toArray(new FaultSystemSolution[0]));
}

Expand All @@ -32,7 +32,7 @@ public FaultSystemSolution merge(List<FaultSystemSolution> 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;
Expand Down

0 comments on commit bf86339

Please sign in to comment.