wyyl1 opened a new pull request, #7784: URL: https://github.com/apache/rocketmq/pull/7784
### Brief Description Remove the redundant code because Math.abs does not return negative numbers ### How Did You Test This Change? ```java @Test public void testResultOfResetIsGreaterThanOrEqualToZero() { ThreadLocalIndex localIndex = new ThreadLocalIndex(); localIndex.reset(); assertThat(localIndex.incrementAndGet() > 0).isTrue(); } ``` -- 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: commits-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org