Minor: Drop unnecessary non-null assertion

#EA-107378 Fixed
This commit is contained in:
Alexey Sedunov
2017-09-14 16:46:02 +03:00
parent 1043284afe
commit 1e82b23321
@@ -84,7 +84,7 @@ fun KotlinFacetSettings.initializeIfNeeded(
LanguageVersion.fromVersionString(commonArguments.apiVersion) ?: languageLevel
}
else {
languageLevel!!.coerceAtMost(getLibraryLanguageLevel(module, rootModel, targetPlatformKind!!))
languageLevel!!.coerceAtMost(getLibraryLanguageLevel(module, rootModel, targetPlatformKind))
}
}
}