mirror of https://github.com/apache/druid.git
Spotbugs: RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN (#8076)
* Spotbugs: RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN * Use Objects instead
This commit is contained in:
parent
c87b47e0fa
commit
714a2726a7
|
@ -75,7 +75,6 @@
|
||||||
<Bug pattern="OS_OPEN_STREAM"/>
|
<Bug pattern="OS_OPEN_STREAM"/>
|
||||||
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
|
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE"/>
|
||||||
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
|
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
|
||||||
<Bug pattern="RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN"/>
|
|
||||||
<Bug pattern="REC_CATCH_EXCEPTION"/>
|
<Bug pattern="REC_CATCH_EXCEPTION"/>
|
||||||
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/>
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE"/>
|
||||||
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>
|
||||||
|
|
|
@ -159,7 +159,7 @@ public class SegmentAnalysis implements Comparable<SegmentAnalysis>
|
||||||
SegmentAnalysis that = (SegmentAnalysis) o;
|
SegmentAnalysis that = (SegmentAnalysis) o;
|
||||||
return size == that.size &&
|
return size == that.size &&
|
||||||
numRows == that.numRows &&
|
numRows == that.numRows &&
|
||||||
rollup == that.rollup &&
|
Objects.equals(rollup, that.rollup) &&
|
||||||
Objects.equals(id, that.id) &&
|
Objects.equals(id, that.id) &&
|
||||||
Objects.equals(interval, that.interval) &&
|
Objects.equals(interval, that.interval) &&
|
||||||
Objects.equals(columns, that.columns) &&
|
Objects.equals(columns, that.columns) &&
|
||||||
|
|
|
@ -312,7 +312,7 @@ public class ScanQuery extends BaseQuery<ScanResultValue>
|
||||||
final ScanQuery scanQuery = (ScanQuery) o;
|
final ScanQuery scanQuery = (ScanQuery) o;
|
||||||
return batchSize == scanQuery.batchSize &&
|
return batchSize == scanQuery.batchSize &&
|
||||||
limit == scanQuery.limit &&
|
limit == scanQuery.limit &&
|
||||||
legacy == scanQuery.legacy &&
|
Objects.equals(legacy, scanQuery.legacy) &&
|
||||||
Objects.equals(virtualColumns, scanQuery.virtualColumns) &&
|
Objects.equals(virtualColumns, scanQuery.virtualColumns) &&
|
||||||
Objects.equals(resultFormat, scanQuery.resultFormat) &&
|
Objects.equals(resultFormat, scanQuery.resultFormat) &&
|
||||||
Objects.equals(dimFilter, scanQuery.dimFilter) &&
|
Objects.equals(dimFilter, scanQuery.dimFilter) &&
|
||||||
|
|
Loading…
Reference in New Issue