Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
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.
Let's fix error in Raft module.
[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)
See
@Override public void onDisappeared(ClusterNode member) {
readyAddresses.remove(member.address());
}
Attachments
Issue Links
- is caused by
-
IGNITE-15393 [Ignite 3] Add Errorprone static analyzer maven plugin
- Resolved
- links to