[ 
https://issues.apache.org/jira/browse/IGNITE-21698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Viacheslav Blinov updated IGNITE-21698:
---------------------------------------
    Description: 
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

  was:
Issue detected by SpotBugs. Specifically the warning reported is:
{noformat}
M B RV_RETURN_VALUE_IGNORED_BAD_PRACTICE RV: Exceptional return value of 
java.util.concurrent.ExecutorService.submit(Callable) ignored in 
org.apache.ignite.internal.network.netty.ConnectionManager.handleNodeLeft(String)
  At ConnectionManager.java:[line 603]
{noformat}
If you don't check the result, you won't notice if the method invocation 
signals unexpected behavior by returning an atypical return value.

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


> LocalConfigurationStorage reboxes unboxed value
> -----------------------------------------------
>
>                 Key: IGNITE-21698
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21698
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Viacheslav Blinov
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to