Skip to content

Commit

Permalink
backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoles committed Aug 28, 2024
1 parent 0587e79 commit 74bcdfd
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ public final class MutationStatusTestPair implements Serializable {

private final List<String> coveringTests;

@Deprecated
// for backwards compatibility. Remove at next major release
public static MutationStatusTestPair notAnalysed(int testsRun, DetectionStatus status) {
return notAnalysed(testsRun, status, Collections.emptyList());
}

public static MutationStatusTestPair notAnalysed(int testsRun, DetectionStatus status, List<String> coveringTests) {
return new MutationStatusTestPair(testsRun, status, Collections.emptyList(), Collections.emptyList(), coveringTests);
}
Expand Down

0 comments on commit 74bcdfd

Please sign in to comment.