szetszwo commented on pull request #556:
URL: https://github.com/apache/ratis/pull/556#issuecomment-988601531
@LiuJinghao , there is a (false) findbugs warning
RV_NEGATING_RESULT_OF_COMPARETO. Let's change the code as below to avoid the
warning.
```
//TimeDuration.compareTo
return Integer.compare(0, that.compareTo(this));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]