diff --git a/codestyle/spotbugs-exclude.xml b/codestyle/spotbugs-exclude.xml index 9776e554b8e7..464ea99a2e63 100644 --- a/codestyle/spotbugs-exclude.xml +++ b/codestyle/spotbugs-exclude.xml @@ -81,8 +81,28 @@ + + + + + + + + + + + + + + + + + + + + @@ -100,6 +120,7 @@ + @@ -137,6 +158,10 @@ + + + + diff --git a/pom.xml b/pom.xml index 0f5e45dc7d12..5c1cc4f72b24 100644 --- a/pom.xml +++ b/pom.xml @@ -1727,15 +1727,7 @@ com.github.spotbugs spotbugs-maven-plugin - 4.9.3.2 - - - - com.github.spotbugs - spotbugs - 4.8.6 - - + 4.10.2.0 codestyle/spotbugs-exclude.xml 768 diff --git a/processing/src/main/java/org/apache/druid/math/expr/Function.java b/processing/src/main/java/org/apache/druid/math/expr/Function.java index 15f0efddd538..3dd9e61b5303 100644 --- a/processing/src/main/java/org/apache/druid/math/expr/Function.java +++ b/processing/src/main/java/org/apache/druid/math/expr/Function.java @@ -2172,7 +2172,6 @@ public String name() return "case_searched"; } - @SuppressFBWarnings("IM_BAD_CHECK_FOR_ODD") @Override public ExprEval apply(final List args, final Expr.ObjectBinding bindings) { diff --git a/processing/src/main/java/org/apache/druid/segment/index/IndexedUtf8ValueIndexes.java b/processing/src/main/java/org/apache/druid/segment/index/IndexedUtf8ValueIndexes.java index e0ca5f5780b8..8cb68d59596a 100644 --- a/processing/src/main/java/org/apache/druid/segment/index/IndexedUtf8ValueIndexes.java +++ b/processing/src/main/java/org/apache/druid/segment/index/IndexedUtf8ValueIndexes.java @@ -132,7 +132,6 @@ public BitmapColumnIndex forSortedValues(SortedSet values) ); } - @SuppressFBWarnings("NP_NONNULL_PARAM_VIOLATION") @Override public BitmapColumnIndex forSortedValuesUtf8(List sortedValuesUtf8) {