[ 
https://issues.apache.org/jira/browse/RATIS-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573090#comment-17573090
 ] 

Tsz-wo Sze commented on RATIS-1646:
-----------------------------------

Filed RATIS-1647 for the warnings below.
- 
./ratis-common/src/main/java/org/apache/ratis/datastream/impl/DataStreamRequestByteBuffer.java
{code}
 20: import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 43:   @SuppressFBWarnings("EI_EXPOSE_REP")
   2 occurrence(s)
{code}
- 
./ratis-common/src/main/java/org/apache/ratis/datastream/impl/DataStreamRequestFilePositionCount.java
{code}
 20: import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 52:   @SuppressFBWarnings("EI_EXPOSE_REP")
   2 occurrence(s)
{code}
- 
./ratis-common/src/main/java/org/apache/ratis/protocol/DataStreamRequestHeader.java
{code}
 21: import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 33:   @SuppressFBWarnings("EI_EXPOSE_REP2")
 41:   @SuppressFBWarnings("EI_EXPOSE_REP")
   3 occurrence(s)
{code}
- 
./ratis-netty/src/main/java/org/apache/ratis/netty/server/DataStreamRequestByteBuf.java
{code}
 21: import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
 40:   @SuppressFBWarnings("EI_EXPOSE_REP2")
 63:   @SuppressFBWarnings("EI_EXPOSE_REP")
   3 occurrence(s)
{code}


> Fix suppressed Findbugs warnings
> --------------------------------
>
>                 Key: RATIS-1646
>                 URL: https://issues.apache.org/jira/browse/RATIS-1646
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Tsz-wo Sze
>            Assignee: Ethan Rose
>            Priority: Major
>
> There are quite a few {{@SuppressFBWarnings}} tags in the code.  We should 
> fix the underlying problems or document the reason of the suppression.



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

Reply via email to