Skip to content

Commit

Permalink
Exclude spotbugs using the method names
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuvindu committed May 10, 2024
1 parent 0db30cb commit dc4d1b6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build-config/spotbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@
<FindBugsFilter>
<Match>
<Class name="io.ballerina.lib.avro.Utils" />
<!-- <Method name = "getMutableType" /> -->
<Method name = "getMutableType" />
<Bug pattern="BC_UNCONFIRMED_CAST" />
</Match>
<Match>
<Class name="io.ballerina.lib.avro.deserialize.visitor.DeserializeVisitor" />
<!-- <Method name = "visit" /> -->
<Method name = "visit" />
<Bug pattern="BC_UNCONFIRMED_CAST" />
</Match>
<Class name="io.ballerina.lib.avro.deserialize.visitor.DeserializeVisitor" />
<Method name = "extractMapType" />
<Bug pattern="BC_UNCONFIRMED_CAST" />
</FindBugsFilter>

0 comments on commit dc4d1b6

Please sign in to comment.