File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/io/github/mridang/codegen Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11package io .github .mridang .codegen ;
22
3+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
34import io .github .mridang .codegen .rules .*;
45import io .swagger .v3 .oas .models .OpenAPI ;
56import org .openapitools .codegen .OpenAPINormalizer ;
@@ -23,7 +24,8 @@ public class AdvancedOpenAPINormalizer extends OpenAPINormalizer {
2324 private static final String RULE_ONLY_ALLOW_JSON = "ONLY_ALLOW_JSON" ;
2425 private static final String RULE_FILTER_PATHS = "FILTER_PATHS" ;
2526 private static final String RULE_GARBAGE_COLLECT = "GARBAGE_COLLECT_COMPONENTS" ;
26-
27+ @ SuppressWarnings ("HidingField" )
28+ @ SuppressFBWarnings ("MF_CLASS_MASKS_FIELD" )
2729 protected final Logger LOGGER = LoggerFactory .getLogger (AdvancedOpenAPINormalizer .class );
2830 private final Map <String , String > customRules ;
2931
@@ -34,6 +36,7 @@ public class AdvancedOpenAPINormalizer extends OpenAPINormalizer {
3436 * @param inputRules A map of configuration rules that control which custom
3537 * normalizations are applied.
3638 */
39+ @ SuppressFBWarnings ("EI_EXPOSE_REP2" )
3740 public AdvancedOpenAPINormalizer (OpenAPI openAPI , Map <String , String > inputRules ) {
3841 super (openAPI , inputRules );
3942 this .customRules = inputRules ;
You can’t perform that action at this time.
0 commit comments