Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
Docs Required, Release Notes Required
Description
Static analyzer tool Errorprone reports errors for few modules.
These errors are muted and must be fixed.
See parent/pom.xml -> Maven compiler plugin configuration -> compiler argument "XepExcludedPaths:"
Let's fix errors and unmute error-prone for Metastorage-server module.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project ignite-metastorage-server: Compilation failure [ERROR] ....apache-ignite-3/modules/metastorage-server/src/main/java/org/apache/ignite/internal/metastorage/server/SimpleInMemoryKeyValueStorage.java:[667,40] [ReturnValueIgnored] Return value of 'hasNext' must be used [ERROR] (see https://errorprone.info/bugpattern/ReturnValueIgnored) [ERROR] Did you mean to remove this line?
Attachments
Issue Links
- is caused by
-
IGNITE-15393 [Ignite 3] Add Errorprone static analyzer maven plugin
- Resolved