We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22734c3 commit 611d6b0Copy full SHA for 611d6b0
src/main/kotlin/org/domaframework/doma/intellij/inspection/dao/inspector/DaoMethodVariableInspector.kt
@@ -94,7 +94,7 @@ class DaoMethodVariableInspector : AbstractBaseJavaLocalInspectionTool() {
94
object : PsiRecursiveElementVisitor() {
95
// Recursively explore child elements in a file with PsiRecursiveElementVisitor.
96
override fun visitElement(element: PsiElement) {
97
- if (element !is SqlElPrimaryExpr) {
+ if (element is SqlElPrimaryExpr) {
98
iterator = args.minus(elements.toSet()).iterator()
99
while (iterator.hasNext()) {
100
val arg = iterator.next()
0 commit comments