[
https://issues.apache.org/jira/browse/IGNITE-15439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Mashenkov updated IGNITE-15439:
--------------------------------------
Description:
Static analyzer tool Errorprone reports errors for few modules.
These errors are muted and must be fixed.
{code:java}
See parent/pom.xml -> Maven compiler plugin configuration -> compiler argument
"XepExcludedPaths:"
{code}
Let's fix errors and unmute error-prone for Raft module.
{code:java}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
on project ignite-raft: Compilation failure
[ERROR]
/home/amashenkov/work/apache-ignite-3/modules/raft/src/main/java/org/apache/ignite/raft/jraft/rpc/impl/AbstractClientService.java:[79,30]
[CollectionIncompatibleType] Argument 'member.address()' should not be passed
to this method; its type NetworkAddress is not compatible with its collection's
type argument String
[ERROR] (see https://errorprone.info/bugpattern/CollectionIncompatibleType)
{code}
was:
Static analyzer tool Errorprone reports errors for few modules.
These errors are muted and must be fixed.
{code:java}
See parent/pom.xml -> Maven compiler plugin configuration -> compiler argument
"XepExcludedPaths:"
{code}
Let's fix errors and unmute error-prone for Raft module.
> [Ignite 3] Fix Errorprone errors in Raft module.
> ------------------------------------------------
>
> Key: IGNITE-15439
> URL: https://issues.apache.org/jira/browse/IGNITE-15439
> Project: Ignite
> Issue Type: Bug
> Reporter: Andrey Mashenkov
> Assignee: Alexey Scherbakov
> Priority: Blocker
> Labels: ignite-3
> Fix For: 3.0.0-alpha3
>
>
> Static analyzer tool Errorprone reports errors for few modules.
> These errors are muted and must be fixed.
> {code:java}
> See parent/pom.xml -> Maven compiler plugin configuration -> compiler
> argument "XepExcludedPaths:"
> {code}
> Let's fix errors and unmute error-prone for Raft module.
> {code:java}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> (default-compile) on project ignite-raft: Compilation failure
> [ERROR]
> /home/amashenkov/work/apache-ignite-3/modules/raft/src/main/java/org/apache/ignite/raft/jraft/rpc/impl/AbstractClientService.java:[79,30]
> [CollectionIncompatibleType] Argument 'member.address()' should not be
> passed to this method; its type NetworkAddress is not compatible with its
> collection's type argument String
> [ERROR] (see
> https://errorprone.info/bugpattern/CollectionIncompatibleType)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)