A pair of "Suppress" changed from CAST_NEVER_SUCCEEDS to UNCHECKED_CAST

(cherry picked from commit 2ac8a66)
This commit is contained in:
Mikhail Glukhikh
2016-07-20 15:54:05 +03:00
committed by Mikhail Glukhikh
parent dbbc4ec281
commit 17a2a971c4
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ abstract class AbstractKtReference<T : KtElement>(element: T)
override fun bindToElement(element: PsiElement): PsiElement = throw IncorrectOperationException()
@Suppress("CAST_NEVER_SUCCEEDS")
@Suppress("UNCHECKED_CAST")
override fun getVariants(): Array<Any> = PsiReference.EMPTY_ARRAY as Array<Any>
override fun isSoft(): Boolean = false