From 36e86c840c6a031ceac39d83d83a8edfdf9352ca Mon Sep 17 00:00:00 2001 From: Maxim Medvedev Date: Tue, 19 Apr 2011 12:18:19 +0400 Subject: [PATCH] another check for EA-26006 - IOE: PsiJavaParserFacadeImpl.createTypeElementFromText --- plugins/groovy/resources/standardDsls/defaultMethods.gdsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/groovy/resources/standardDsls/defaultMethods.gdsl b/plugins/groovy/resources/standardDsls/defaultMethods.gdsl index 13a26592035b..570dbc8eb842 100644 --- a/plugins/groovy/resources/standardDsls/defaultMethods.gdsl +++ b/plugins/groovy/resources/standardDsls/defaultMethods.gdsl @@ -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>" }