another check for EA-26006 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText

This commit is contained in:
Maxim Medvedev
2011-04-19 14:54:21 +04:00
parent b097e8ce62
commit 36e86c840c
@@ -46,7 +46,7 @@ def constructElementTypeArg(def psiType) {
def typeText = psiType.canonicalText ?: psiType.presentableText
if (!typeText || typeText == 'null') return ""
def arg = extractTypeParameter(typeText)
if (!arg) return ""
if (!arg || arg == "null") return ""
return "<$arg>"
}