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

Viacheslav Blinov updated IGNITE-21703:
---------------------------------------
    Description: 
Issue detected by SpotBugs. Specifically the warning reported is:
{noformat}
H I DM_DEFAULT_ENCODING Dm: Found reliance on default encoding in 
org.apache.ignite.internal.sql.engine.exec.exp.IgniteSqlFunctions.octetLength(String):
 String.getBytes()  At IgniteSqlFunctions.java:[line 133]
{noformat}
It looks like a potential bug if system default encoding will be something 
exotic.

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 SS_SHOULD_BE_STATIC SS: Unread field: 
org.apache.ignite.internal.sql.engine.exec.rel.AbstractNode.inBufSize; should 
this field be static?  At AbstractNode.java:[line 39] {noformat}
It looks like this field is just useless.

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


> IgniteSqlFunctions.octetLength relies on default encoding
> ---------------------------------------------------------
>
>                 Key: IGNITE-21703
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21703
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Viacheslav Blinov
>            Priority: Minor
>
> Issue detected by SpotBugs. Specifically the warning reported is:
> {noformat}
> H I DM_DEFAULT_ENCODING Dm: Found reliance on default encoding in 
> org.apache.ignite.internal.sql.engine.exec.exp.IgniteSqlFunctions.octetLength(String):
>  String.getBytes()  At IgniteSqlFunctions.java:[line 133]
> {noformat}
> It looks like a potential bug if system default encoding will be something 
> exotic.
> 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)

Reply via email to