mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add JspTemplateStatement as normally completing statement
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
package com.siyeh.ig.psiutils;
|
||||
|
||||
import com.intellij.psi.*;
|
||||
import com.intellij.psi.impl.source.jsp.jspJava.JspTemplateStatement;
|
||||
import com.intellij.psi.util.PsiTreeUtil;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -92,6 +93,9 @@ public class ControlFlowUtils {
|
||||
else if (statement instanceof PsiSwitchStatement) {
|
||||
return switchStatementMayCompleteNormally((PsiSwitchStatement)statement);
|
||||
}
|
||||
else if (statement instanceof JspTemplateStatement) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
assert false : "unknown statement type: " + statement.getClass();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user