kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject kafka git commit: KAFKA-4945; Suppress findbugs warnings about machine-generated code in jmh-benchmarks
Date Wed, 29 Mar 2017 15:23:06 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 42284960d -> 7adf1e414


KAFKA-4945; Suppress findbugs warnings about machine-generated code in jmh-benchmarks

Author: Colin P. Mccabe <cmccabe@confluent.io>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #2729 from cmccabe/KAFKA-4945


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/7adf1e41
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/7adf1e41
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/7adf1e41

Branch: refs/heads/trunk
Commit: 7adf1e4148a1b709f9bc754b08129c390e725cdf
Parents: 4228496
Author: Colin P. Mccabe <cmccabe@confluent.io>
Authored: Wed Mar 29 16:22:39 2017 +0100
Committer: Ismael Juma <ismael@juma.me.uk>
Committed: Wed Mar 29 16:22:47 2017 +0100

----------------------------------------------------------------------
 gradle/findbugs-exclude.xml | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/7adf1e41/gradle/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/gradle/findbugs-exclude.xml b/gradle/findbugs-exclude.xml
index 2515a4a..932eb3e 100644
--- a/gradle/findbugs-exclude.xml
+++ b/gradle/findbugs-exclude.xml
@@ -55,4 +55,10 @@
         <Method name="toLogical"/>
         <Bug pattern="ICAST_INT_2_LONG_AS_INSTANT"/>
     </Match>
+
+    <Match>
+        <!-- Suppress some minor warnings about machine-generated code for LRU cache
+             benchmarking. -->
+        <Package name="org.apache.kafka.jmh.cache.generated"/>
+    </Match>
 </FindBugsFilter>


Mime
View raw message