1 | package com.adventofcode.day04 | |
2 | ||
3 |
6
1. areAllPassportsValidOnes : replaced boolean return with false for com/adventofcode/day04/SimplePassportsValidator::areAllPassportsValidOnes → KILLED 2. areAllPassportsValidOnes : replaced boolean return with true for com/adventofcode/day04/SimplePassportsValidator::areAllPassportsValidOnes → KILLED 3. asString : replaced return value with "" for com/adventofcode/day04/SimplePassportsValidator::asString → KILLED 4. validateAll : replaced return value with Collections.emptyList for com/adventofcode/day04/SimplePassportsValidator::validateAll → KILLED 5. validatePassport : replaced boolean return with false for com/adventofcode/day04/SimplePassportsValidator::validatePassport → KILLED 6. validatePassport : replaced boolean return with true for com/adventofcode/day04/SimplePassportsValidator::validatePassport → KILLED |
class SimplePassportsValidator(passports: Collection<Passport>) : PassportsValidator { |
4 | ||
5 |
1
1. getInvalidityCause : replaced return value with "" for com/adventofcode/day04/SimplePassportsValidator::getInvalidityCause → KILLED |
override var invalidityCause: String = "Missing some field" |
6 |
1
1. getValidationData : replaced return value with Collections.emptyList for com/adventofcode/day04/SimplePassportsValidator::getValidationData → KILLED |
override val validationData: Collection<Pair<Passport, Boolean>> = validateAll(passports) |
7 | ||
8 | override fun toString(): String { | |
9 |
1
1. toString : replaced return value with "" for com/adventofcode/day04/SimplePassportsValidator::toString → KILLED |
return asString() |
10 | } | |
11 | ||
12 | } | |
Mutations | ||
3 |
1.1 2.2 3.3 4.4 5.5 6.6 |
|
5 |
1.1 |
|
6 |
1.1 |
|
9 |
1.1 |