[
https://issues.apache.org/jira/browse/IGNITE-21699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viacheslav Blinov updated IGNITE-21699:
---------------------------------------
Description:
Issue detected by SpotBugs. Specifically the warning reported is:
{noformat}
M B ES_COMPARING_STRINGS_WITH_EQ ES: Comparison of String objects using == or
!= in
org.apache.ignite.internal.sql.engine.trait.DistributionFunction.equals(Object)
At DistributionFunction.java:[line 76]
M B ES_COMPARING_STRINGS_WITH_EQ ES: Comparison of String objects using == or
!= in
org.apache.ignite.internal.sql.engine.trait.DistributionFunction.satisfy(DistributionFunction,
DistributionFunction) At DistributionFunction.java:[line 117]
{noformat}
This might be wrong.
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 P BX_UNBOXING_IMMEDIATELY_REBOXED Bx: Boxed value is unboxed and then
immediately reboxed in
org.apache.ignite.internal.configuration.storage.LocalConfigurationStorage.lambda$lastRevision$6()
At LocalConfigurationStorage.java:[line 232] {noformat}
This might cause unwanted additional GC pressure.
Investigate whenever this is a false-positive and we should suppress it, or we
should make a proper fix.
At the result of investigation corresponding TODO should be removed in
spotbugs-excludes.xml
> DistributionFunction compares strings by reference
> --------------------------------------------------
>
> Key: IGNITE-21699
> URL: https://issues.apache.org/jira/browse/IGNITE-21699
> Project: Ignite
> Issue Type: Task
> Reporter: Viacheslav Blinov
> Priority: Minor
>
> Issue detected by SpotBugs. Specifically the warning reported is:
> {noformat}
> M B ES_COMPARING_STRINGS_WITH_EQ ES: Comparison of String objects using == or
> != in
> org.apache.ignite.internal.sql.engine.trait.DistributionFunction.equals(Object)
> At DistributionFunction.java:[line 76]
> M B ES_COMPARING_STRINGS_WITH_EQ ES: Comparison of String objects using == or
> != in
> org.apache.ignite.internal.sql.engine.trait.DistributionFunction.satisfy(DistributionFunction,
> DistributionFunction) At DistributionFunction.java:[line 117]
> {noformat}
> This might be wrong.
> 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)