You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/11/20 21:27:00 UTC

[jira] [Updated] (HDDS-9731) Fix false positive findbugs warnings in CodecBuffer

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

ASF GitHub Bot updated HDDS-9731:
---------------------------------
    Labels: pull-request-available  (was: )

> Fix false positive findbugs warnings in CodecBuffer
> ---------------------------------------------------
>
>                 Key: HDDS-9731
>                 URL: https://issues.apache.org/jira/browse/HDDS-9731
>             Project: Apache Ozone
>          Issue Type: Improvement
>    Affects Versions: 1.4.0
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Minor
>              Labels: pull-request-available
>
> {code}
> M D RV: Return value of org.apache.ratis.thirdparty.io.netty.buffer.ByteBuf.writeByte(int) ignored, but method has no side effect  At CodecBuffer.java:[line 415]
> M D RV: Return value of org.apache.ratis.thirdparty.io.netty.buffer.ByteBuf.setIndex(int, int) ignored, but method has no side effect  At CodecBuffer.java:[line 452]
> M D RV: Return value of org.apache.ratis.thirdparty.io.netty.buffer.ByteBuf.setIndex(int, int) ignored, but method has no side effect  At CodecBuffer.java:[line 473]
> M D RV: Return value of org.apache.ratis.thirdparty.io.netty.buffer.ByteBuf.setIndex(int, int) ignored, but method has no side effect  At CodecBuffer.java:[line 500]
> M D RV: Return value of org.apache.ratis.thirdparty.io.netty.buffer.ByteBuf.writeInt(int) ignored, but method has no side effect  At CodecBuffer.java:[line 393]
> M D RV: Return value of org.apache.ratis.thirdparty.io.netty.buffer.ByteBuf.writeLong(long) ignored, but method has no side effect  At CodecBuffer.java:[line 404]
> M D RV: Return value of org.apache.ratis.thirdparty.io.netty.buffer.ByteBuf.writeShort(int) ignored, but method has no side effect  At CodecBuffer.java:[line 382]
> {code}
> These warnings are reported by SpotBugs in various PRs that do not touch {{CodecBuffer}}.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org