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.
2 parents 22734c3 + 611d6b0 commit 51a3e47Copy full SHA for 51a3e47
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