[
https://issues.apache.org/jira/browse/IGNITE-21705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viacheslav Blinov updated IGNITE-21705:
---------------------------------------
Description:
Issue detected by SpotBugs. Specifically the warning reported is:
{noformat}
M B BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS BC: Equals method for
org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointWorkflow$1
assumes the argument is of type CheckpointWorkflow$1 At
CheckpointWorkflow.java:[line 349]
M B NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT NP:
org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointWorkflow$1.equals(Object)
does not check for null argument At CheckpointWorkflow.java:[line 349]
{noformat}
Investigate whenever this is a false-positive and we should suppress it, or
make a proper fix.
At the result of investigation corresponding TODO should be removed in
spotbugs-excludes.xml
was:
Issue detected by SpotBugs. Specifically the warning reported is:
{noformat}
M B BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS BC: Equals method for
org.apache.ignite.internal.configuration.ConfigurationListenerHolder$1 assumes
the argument is of type ConfigurationListenerHolder$1 At
ConfigurationListenerHolder.java:[line 56]
M B NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT NP:
org.apache.ignite.internal.configuration.ConfigurationListenerHolder$1.equals(Object)
does not check for null argument At ConfigurationListenerHolder.java:[line
56]{noformat}
Investigate whenever this is a false-positive and we should suppress it, or
make a proper fix.
At the result of investigation corresponding TODO should be removed in
spotbugs-excludes.xml
> CheckpointWorkflow uses weird equals implementation
> ---------------------------------------------------
>
> Key: IGNITE-21705
> URL: https://issues.apache.org/jira/browse/IGNITE-21705
> Project: Ignite
> Issue Type: Bug
> Reporter: Viacheslav Blinov
> Priority: Minor
>
> Issue detected by SpotBugs. Specifically the warning reported is:
> {noformat}
> M B BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS BC: Equals method for
> org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointWorkflow$1
> assumes the argument is of type CheckpointWorkflow$1 At
> CheckpointWorkflow.java:[line 349]
> M B NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT NP:
> org.apache.ignite.internal.pagememory.persistence.checkpoint.CheckpointWorkflow$1.equals(Object)
> does not check for null argument At CheckpointWorkflow.java:[line 349]
> {noformat}
> Investigate whenever this is a false-positive and we should suppress it, or
> make a proper fix.
> At the result of investigation corresponding TODO should be removed in
> spotbugs-excludes.xml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)