github-advanced-security[bot] commented on code in PR #990: URL: https://github.com/apache/syncope/pull/990#discussion_r1956568792
########## core/persistence-neo4j/src/main/java/org/apache/syncope/core/persistence/neo4j/dao/Neo4jAnySearchDAO.java: ########## @@ -672,23 +671,20 @@ TextStringBuilder query = new TextStringBuilder("MATCH (n) WHERE "); - plainSchemaDAO.findById(cond.getSchema()).ifPresentOrElse( - schema -> fillAttrQuery( - anyUtilsFactory.getInstance(kind), - query, checked.getMiddle(), checked.getLeft(), checked.getRight(), not, parameters), + plainSchemaDAO.findById(cond.getSchema()).ifPresentOrElse(schema -> fillAttrQuery( Review Comment: ## Useless parameter The parameter 'schema' is never used. [Show more details](https://github.com/apache/syncope/security/code-scanning/2028) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org