diff --git a/pitest/src/main/java/org/pitest/mutationtest/MutationStatusTestPair.java b/pitest/src/main/java/org/pitest/mutationtest/MutationStatusTestPair.java index 8889508e8..52d01b6ae 100644 --- a/pitest/src/main/java/org/pitest/mutationtest/MutationStatusTestPair.java +++ b/pitest/src/main/java/org/pitest/mutationtest/MutationStatusTestPair.java @@ -31,6 +31,12 @@ public final class MutationStatusTestPair implements Serializable { private final List 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 coveringTests) { return new MutationStatusTestPair(testsRun, status, Collections.emptyList(), Collections.emptyList(), coveringTests); }