Skip to content

[bugfix] Check before optimizing innerExpr. No need to optimize if it…

Codacy Production / Codacy Static Code Analysis required action Jul 16, 2023 in 0s

2 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 3
- Added 2
           

See the complete overview on Codacy

Annotations

Check warning on line 200 in extensions/indexes/range/src/main/java/org/exist/xquery/modules/range/Lookup.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

extensions/indexes/range/src/main/java/org/exist/xquery/modules/range/Lookup.java#L200

Avoid reassigning parameters such as 'expression'

Check warning on line 186 in extensions/indexes/range/src/main/java/org/exist/xquery/modules/range/RangeQueryRewriter.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

extensions/indexes/range/src/main/java/org/exist/xquery/modules/range/RangeQueryRewriter.java#L186

Avoid reassigning parameters such as 'expr'