File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/main/kotlin/org/domaframework/doma/intellij/inspection/sql/inspector Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ import org.domaframework.doma.intellij.common.psi.PsiParentClass
4343import org.domaframework.doma.intellij.extension.expr.accessElements
4444import org.domaframework.doma.intellij.extension.expr.fqdn
4545import org.domaframework.doma.intellij.extension.getJavaClazz
46- import org.domaframework.doma.intellij.extension.psi.findNodeParent
4746import org.domaframework.doma.intellij.extension.psi.getDomaAnnotationType
4847import org.domaframework.doma.intellij.extension.psi.getForItem
4948import org.domaframework.doma.intellij.extension.psi.getIterableClazz
@@ -164,9 +163,6 @@ class SqlBindVariableValidInspector : LocalInspectionTool() {
164163 // Exclude fixed Literal
165164 if (isLiteralOrStatic(element)) return
166165
167- // TODO Check function parameters in the same way as bind variables.
168- if (element.findNodeParent(SqlTypes .EL_PARAMETERS ) != null ) return
169-
170166 // For static property references, match against properties in the class definition
171167 if (element.parent is SqlElStaticFieldAccessExpr ) {
172168 checkStaticFieldAndMethodAccess(
You can’t perform that action at this time.
0 commit comments