PDavid commented on code in PR #6457: URL: https://github.com/apache/hbase/pull/6457#discussion_r1846207206
########## hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FuzzyRowFilter.java: ########## @@ -200,7 +200,7 @@ public boolean filterRow() throws IOException { @Override public ReturnCode filterCell(final Cell c) { - final int startIndex = lastFoundIndex >= 0 ? lastFoundIndex : 0; + final int startIndex = Math.max(lastFoundIndex, 0); Review Comment: Many thanks. :+1: Yes, this line change was not because of performance. Actually here just IntelliJ IDEA suggested to replace this to make it simpler to understand. It can be reverted if needed. -- 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: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org