mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-47406 - IOE: PsiElementFactoryImpl.createVariableDeclarationStatement
This commit is contained in:
+2
-2
@@ -102,8 +102,8 @@ public class AddTypeArgumentsConditionalFix implements IntentionAction {
|
||||
return true;
|
||||
}
|
||||
|
||||
public static void register(HighlightInfo highlightInfo, PsiExpression expression, PsiType lType) {
|
||||
if (expression instanceof PsiConditionalExpression) {
|
||||
public static void register(HighlightInfo highlightInfo, PsiExpression expression, @NotNull PsiType lType) {
|
||||
if (lType != PsiType.NULL && expression instanceof PsiConditionalExpression) {
|
||||
final PsiExpression thenExpression = ((PsiConditionalExpression)expression).getThenExpression();
|
||||
final PsiExpression elseExpression = ((PsiConditionalExpression)expression).getElseExpression();
|
||||
if (thenExpression != null && elseExpression != null) {
|
||||
|
||||
Reference in New Issue
Block a user