-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mutate stream returns to Stream.empty
Previously stream returns were mutated to null. This was inconsistent and resulted in less stable mutations. Special handling was also needed to filter out null returns used only in flatMaps, as these acted like stream.empty. Mutating to Stream.empty is simpler and results in more useful mutations that are harder to detect.
- Loading branch information
Henry Coles
committed
Oct 12, 2021
1 parent
a26264f
commit e726b4e
Showing
10 changed files
with
58 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
187 changes: 0 additions & 187 deletions
187
...y/src/main/java/org/pitest/mutationtest/build/intercept/equivalent/NullFlatMapFilter.java
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...ain/java/org/pitest/mutationtest/build/intercept/equivalent/NullFlatMapFilterFactory.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.