From 0217c8c5416fb696392a1df91d41372b5186e73d Mon Sep 17 00:00:00 2001 From: Virushade <70288012+GWphua@users.noreply.github.com> Date: Sat, 31 Aug 2024 12:07:34 +0800 Subject: [PATCH] Change Inspection Profile to set "Method is identical to its super method" as error (#16976) * Make IntelliJ's MethodIsIdenticalToSuperMethod an error * Change codebase to follow new IntelliJ inspection * Restore non-short-circuit boolean expressions to pass tests --- .idea/inspectionProfiles/Druid.xml | 1 + .../parallel/LegacySinglePhaseSubTask.java | 21 --------- .../tools/CustomNodeRoleClientModule.java | 9 ---- .../druid/testing/tools/SleepModule.java | 9 ---- .../apache/druid/math/expr/ConstantExpr.java | 12 ----- .../org/apache/druid/math/expr/Function.java | 45 ------------------- .../aggregation/CountBufferAggregator.java | 7 --- .../aggregation/NoopBufferAggregator.java | 7 --- .../epinephelinae/BufferHashGrouper.java | 7 --- .../epinephelinae/RowBasedGrouperHelper.java | 6 --- .../druid/segment/AutoTypeColumnMerger.java | 5 --- .../segment/DictionaryMergingIterator.java | 6 --- .../SimpleDictionaryMergingIterator.java | 6 --- .../StringUtf8DictionaryEncodedColumn.java | 7 --- .../join/table/FrameBasedIndexedTable.java | 6 --- .../virtual/NestedFieldVirtualColumn.java | 12 ----- .../catalog/model/table/DatasourceDefn.java | 7 --- 17 files changed, 1 insertion(+), 172 deletions(-) diff --git a/.idea/inspectionProfiles/Druid.xml b/.idea/inspectionProfiles/Druid.xml index d1f72dd2763..0889de4cc67 100644 --- a/.idea/inspectionProfiles/Druid.xml +++ b/.idea/inspectionProfiles/Druid.xml @@ -120,6 +120,7 @@ +