[ 
https://issues.apache.org/jira/browse/TEZ-4712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raghav Aggarwal updated TEZ-4712:
---------------------------------
    Description: 
Instead of spotbugs targeting rules for individual fields (e.g., PARSER, 
unknownFields) and methods (e.g., maybeForceBuilderInitialization), it should 
be class-level.

Reason:
 # Generated code should not be manually modified to fix SpotBugs warnings.
 # The simplified rules cover all classes and inner classes within the 
generated Protobuf packages

  was:
Instead of spotbugs targeting rules for individual fields (e.g., PARSER, 
unknownFields) and methods (e.g., maybeForceBuilderInitialization), it should 
be class-level.

Reason:
 # Generated code should not be manually modified to fix SpotBugs warnings.
 # 
The simplified rules cover all classes and inner classes within the generated 
Protobuf packages


>  Class-level SpotBugs exclusions for generated Protobuf classes
> ---------------------------------------------------------------
>
>                 Key: TEZ-4712
>                 URL: https://issues.apache.org/jira/browse/TEZ-4712
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Raghav Aggarwal
>            Assignee: Raghav Aggarwal
>            Priority: Major
>
> Instead of spotbugs targeting rules for individual fields (e.g., PARSER, 
> unknownFields) and methods (e.g., maybeForceBuilderInitialization), it should 
> be class-level.
> Reason:
>  # Generated code should not be manually modified to fix SpotBugs warnings.
>  # The simplified rules cover all classes and inner classes within the 
> generated Protobuf packages



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to