Has platform type inspection: do not enforce weak warning type

So #KT-17954 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-06-16 15:17:50 +03:00
parent c3f3392f0c
commit 9e85b0c2ba
@@ -41,8 +41,6 @@ class HasPlatformTypeInspection(
}
) {
override fun problemHighlightType(element: KtCallableDeclaration) = ProblemHighlightType.WEAK_WARNING
override val problemText = "Declaration has type inferred from a platform call, which can lead to unchecked nullability issues. " +
"Specify type explicitly as nullable or non-nullable."