[
https://issues.apache.org/jira/browse/IGNITE-21706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Koptilin updated IGNITE-21706:
-----------------------------------------
Labels: ignite-3 spotbugs (was: ignite3 spotbugs)
> RandomLruPageReplacementPolicy has dead conditions
> --------------------------------------------------
>
> Key: IGNITE-21706
> URL: https://issues.apache.org/jira/browse/IGNITE-21706
> Project: Ignite
> Issue Type: Bug
> Reporter: Viacheslav Blinov
> Priority: Minor
> Labels: ignite-3, spotbugs
>
> Issue detected by SpotBugs. Specifically the warning reported is:
> {noformat}
> H D UC_USELESS_CONDITION UC: Useless condition: it's known that dirty ==
> false at this point At RandomLruPageReplacementPolicy.java:[line 134]
> {noformat}
> I tried to unfold it and ended up removing quite a few lines of dead code and
> useless conditions which are constant. I'm not sure if this is right and
> there is no missing implementation there.
> 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)