From 887c6456755bcd8d1bab96b41c9e569f00e9123e Mon Sep 17 00:00:00 2001 From: Roman Leventov Date: Mon, 26 Nov 2018 16:55:42 +0100 Subject: [PATCH] Find duplicate lines with checkstyle; enable some duplicate inspections in IntelliJ (#6558) Not putting this to 0.13 milestone because the found bugs are not critical (one is a harmless DI config duplicate, and another is in a benchmark. Change in `DumpSegment` is just an indentation change. --- .idea/inspectionProfiles/Druid.xml | 8 +++ .../benchmark/query/SearchBenchmark.java | 7 +- codestyle/checkstyle-suppressions.xml | 7 +- codestyle/checkstyle.xml | 8 +++ .../jackson/CommaListJoinDeserializer.java | 3 +- .../jackson/CommaListJoinSerializer.java | 4 +- .../druid/indexer/TaskStatusPlusTest.java | 4 +- .../ArrayOfDoublesSketchJsonSerializer.java | 3 +- .../cache/JdbcExtractionNamespaceTest.java | 7 +- .../druid/guice/NullHandlingModule.java | 1 - .../DruidDefaultSerializersModule.java | 8 +-- .../org/apache/druid/jackson/JodaStuff.java | 6 +- .../org/apache/druid/cli/DumpSegment.java | 69 +++++++++---------- 13 files changed, 68 insertions(+), 67 deletions(-) diff --git a/.idea/inspectionProfiles/Druid.xml b/.idea/inspectionProfiles/Druid.xml index 97f079fc0fa..6bb556d69ac 100644 --- a/.idea/inspectionProfiles/Druid.xml +++ b/.idea/inspectionProfiles/Druid.xml @@ -29,6 +29,11 @@ + + + +