Remove redundant 'else' branch in ImageVerifier The 'when' expression is exhaustive for all subclasses of ImageDiffer.DiffResult, making the 'else' branch redundant. Furthermore, 'percentDiff' is a property of the interface itself, so it can be accessed directly without pattern matching on specific subclasses. Bug: N/A Test: Existing. ImageVerifierTest Change-Id: If7be63e371bb6194975f5aff246ba0bb06c5f599
This project contains: