Merge "Switch else case to null in when expression to make it exhaustive"
This commit is contained in:
@@ -628,7 +628,7 @@ class SystemStubMultiUserDisableUninstallTest : BaseHostJUnit4Test() {
|
|||||||
CodePath.SAME, CodePath.DIFFERENT ->
|
CodePath.SAME, CodePath.DIFFERENT ->
|
||||||
throw AssertionError("secondDataPath cannot be a data path")
|
throw AssertionError("secondDataPath cannot be a data path")
|
||||||
CodePath.SYSTEM -> assertThat(codePaths[1]).isEqualTo(stubFile.parent.toString())
|
CodePath.SYSTEM -> assertThat(codePaths[1]).isEqualTo(stubFile.parent.toString())
|
||||||
else -> {}
|
null -> {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user