Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: more idiomatic java 17, remove "i" prefix #1916

Merged
merged 10 commits into from
Jan 24, 2025

chore: revert js changes

cbc739b
Select commit
Loading
Failed to load commit list.
Merged

Chore: more idiomatic java 17, remove "i" prefix #1916

chore: revert js changes
cbc739b
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jan 24, 2025 in 0s

1 new issue (0 max.) of at least minor severity.

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

Issues
======
+ Solved 1
- Added 1
           

Clones added
============
- engine/src/main/java/com/arcadedb/query/sql/method/conversion/SQLMethodAsShort.java  1
- engine/src/main/java/com/arcadedb/query/sql/method/conversion/SQLMethodAsByte.java  1
- engine/src/main/java/com/arcadedb/query/sql/function/geo/SQLFunctionPolygon.java  1
- engine/src/main/java/com/arcadedb/query/sql/function/geo/SQLFunctionLineString.java  1
- engine/src/main/java/com/arcadedb/query/sql/parser/ContainsAllCondition.java  1
- engine/src/main/java/com/arcadedb/query/sql/method/misc/SQLMethodType.java  1
- engine/src/main/java/com/arcadedb/query/sql/function/coll/SQLFunctionUnionAll.java  1
         

Clones removed
==============
+ engine/src/main/java/com/arcadedb/query/sql/function/misc/SQLFunctionBoolOr.java  -3
+ engine/src/main/java/com/arcadedb/serializer/json/JSONObject.java  -1
+ engine/src/main/java/com/arcadedb/serializer/json/JSONArray.java  -1
+ engine/src/main/java/com/arcadedb/query/sql/executor/IndexSearchDescriptor.java  -1
+ engine/src/main/java/com/arcadedb/query/sql/executor/ResultInternal.java  -2
+ engine/src/main/java/com/arcadedb/query/sql/function/coll/SQLFunctionMap.java  -1
+ engine/src/main/java/com/arcadedb/query/sql/executor/FetchFromIndexStep.java  -1
+ engine/src/main/java/com/arcadedb/query/sql/parser/ContainsCondition.java  -1
+ engine/src/main/java/com/arcadedb/query/sql/function/coll/SQLFunctionDifference.java  -2
+ engine/src/main/java/com/arcadedb/query/sql/function/coll/SQLFunctionSymmetricDifference.java  -1
         

See the complete overview on Codacy

Annotations

Check warning on line 1821 in engine/src/main/java/com/arcadedb/database/LocalDatabase.java

See this annotation in the file changed.

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

engine/src/main/java/com/arcadedb/database/LocalDatabase.java#L1821

An instanceof check is being performed on the caught exception.  Create a separate catch clause for this exception type.