Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Implemented
-
1.4.0
-
None
Description
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]
These warnings are reported by SpotBugs in various PRs that do not touch CodecBuffer.
Attachments
Issue Links
- links to