Minor. Replace '== JvmPlatform' with 'is JvmPlatform'

This commit is contained in:
Denis Zharkov
2016-04-01 12:39:36 +03:00
parent e2db5d9a01
commit e97fa929ea
3 changed files with 5 additions and 5 deletions
@@ -29,7 +29,7 @@ object AnalyzerFacadeProvider {
// otherwise we would be forced to add casts on the call site of setupResolverForProject
fun getAnalyzerFacade(targetPlatform: TargetPlatform): AnalyzerFacade<JvmPlatformParameters> {
return when (targetPlatform) {
JvmPlatform -> JvmAnalyzerFacade
is JvmPlatform -> JvmAnalyzerFacade
JsPlatform -> JsAnalyzerFacade
else -> throw IllegalArgumentException("Unsupported platform: $targetPlatform")
}