This is an automated email from the ASF dual-hosted git repository.
abstractdog pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git
The following commit(s) were added to refs/heads/master by this push:
new fb95685b4 TEZ-4712: [Addendum] Class-level SpotBugs exclusions for
generated Protobuf classes (#495) (Raghav Aggarwal reviewed by Laszlo Bodor)
fb95685b4 is described below
commit fb95685b45fc1dc25385fff908edc12a771d7cc4
Author: Raghav Aggarwal <[email protected]>
AuthorDate: Sun May 10 16:11:02 2026 +0530
TEZ-4712: [Addendum] Class-level SpotBugs exclusions for generated Protobuf
classes (#495) (Raghav Aggarwal reviewed by Laszlo Bodor)
---
tez-ext-service-tests/findbugs-exclude.xml | 16 +---------
.../findbugs-exclude.xml | 34 +---------------------
2 files changed, 2 insertions(+), 48 deletions(-)
diff --git a/tez-ext-service-tests/findbugs-exclude.xml
b/tez-ext-service-tests/findbugs-exclude.xml
index 32c73924a..ff43d1598 100644
--- a/tez-ext-service-tests/findbugs-exclude.xml
+++ b/tez-ext-service-tests/findbugs-exclude.xml
@@ -14,21 +14,7 @@
<FindBugsFilter>
<Match>
- <Class
name="~org\.apache\.tez\.test\.service\.rpc\.TezTestServiceProtocolProtos\$.*Proto"
/>
- <Field name="unknownFields" />
- <Bug pattern="SE_BAD_FIELD" />
- </Match>
-
- <Match>
- <Class
name="~org\.apache\.tez\.test\.service\.rpc\.TezTestServiceProtocolProtos\$.*Proto"
/>
- <Field name="PARSER" />
- <Bug pattern="MS_SHOULD_BE_FINAL" />
- </Match>
-
- <Match>
- <Class
name="~org\.apache\.tez\.test\.service\.rpc\.TezTestServiceProtocolProtos\$.*Proto\$Builder"
/>
- <Method name="maybeForceBuilderInitialization" />
- <Bug pattern="UCF_USELESS_CONTROL_FLOW" />
+ <Class
name="~org\.apache\.tez\.test\.service\.rpc\.TezTestServiceProtocolProtos.*" />
</Match>
</FindBugsFilter>
diff --git a/tez-plugins/tez-protobuf-history-plugin/findbugs-exclude.xml
b/tez-plugins/tez-protobuf-history-plugin/findbugs-exclude.xml
index c91265d65..4a302284c 100644
--- a/tez-plugins/tez-protobuf-history-plugin/findbugs-exclude.xml
+++ b/tez-plugins/tez-protobuf-history-plugin/findbugs-exclude.xml
@@ -13,38 +13,6 @@
-->
<FindBugsFilter>
<Match>
- <Class
name="~org\.apache\.tez\.dag\.history\.logging\.proto\.HistoryLoggerProtos\$KVPair"/>
- <Field name="unknownFields"/>
- <Bug pattern="SE_BAD_FIELD"/>
- </Match>
-
- <Match>
- <Class
name="~org\.apache\.tez\.dag\.history\.logging\.proto\.HistoryLoggerProtos\$.*Proto"/>
- <Field name="unknownFields"/>
- <Bug pattern="SE_BAD_FIELD"/>
- </Match>
-
- <Match>
- <Class
name="~org\.apache\.tez\.dag\.history\.logging\.proto\.HistoryLoggerProtos\$KVPair"/>
- <Field name="PARSER"/>
- <Bug pattern="MS_SHOULD_BE_FINAL"/>
- </Match>
-
- <Match>
- <Class
name="~org\.apache\.tez\.dag\.history\.logging\.proto\.HistoryLoggerProtos\$.*Proto"/>
- <Field name="PARSER"/>
- <Bug pattern="MS_SHOULD_BE_FINAL"/>
- </Match>
-
- <Match>
- <Class
name="~org\.apache\.tez\.dag\.history\.logging\.proto\.HistoryLoggerProtos\$KVPair\$Builder"/>
- <Method name="maybeForceBuilderInitialization"/>
- <Bug pattern="UCF_USELESS_CONTROL_FLOW"/>
- </Match>
-
- <Match>
- <Class
name="~org\.apache\.tez\.dag\.history\.logging\.proto\.HistoryLoggerProtos\$.*Proto\$Builder"/>
- <Method name="maybeForceBuilderInitialization"/>
- <Bug pattern="UCF_USELESS_CONTROL_FLOW"/>
+ <Class
name="~org\.apache\.tez\.dag\.history\.logging\.proto\.HistoryLoggerProtos.*"/>
</Match>
</FindBugsFilter>