Details
Description
Hi
In recent github mirror of hbase, I've found the following code smell.
Path: hbase-client/src/main/java/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java
209 210 ColumnPaginationFilter other = (ColumnPaginationFilter)o; 211 if (this.columnOffset != null) { 212 return this.getLimit() == this.getLimit() && 213 Bytes.equals(this.getColumnOffset(), other.getColumnOffset()); 214 }
It should be?
212 return this.getLimit() == other.getLimit() &&
This might be just a code smell as Bytes.equals can be enough for the return value but wanted to report just in case.
Thanks!