58 lines
1.7 KiB
XML
58 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<FindBugsFilter>
|
|
<Match>
|
|
<!-- Fluent APIs trigger this -->
|
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- ignore default encoding for auto-genned class -->
|
|
<Class name="io.opentelemetry.javaagent.instrumentation.api.db.normalizer.SimpleCharStream"/>
|
|
<Bug pattern="DM_DEFAULT_ENCODING"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- forced GC only used in testing -->
|
|
<Class name="io.opentelemetry.instrumentation.util.gc.GcUtils"/>
|
|
<Bug pattern="DM_GC"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- https://github.com/spotbugs/spotbugs/issues/573 kotlin is not well supported (yet) -->
|
|
<Source name="~.*\.kt"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- final field warnings can be ignored for this test class -->
|
|
<Class name="~muzzle\.TestClasses.*"/>
|
|
<Bug pattern="MS_SHOULD_BE_FINAL"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- inner class serialization warning can be ignored for testing purposes -->
|
|
<Class name="~HttpServletResponseTest\$.*"/>
|
|
<Bug pattern="SE_BAD_FIELD_INNER_CLASS"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- inner class serialization warning can be ignored for testing purposes -->
|
|
<Class name="~HttpServletTest\$.*"/>
|
|
<Bug pattern="SE_BAD_FIELD_INNER_CLASS"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<!-- inner class serialization warning can be ignored for testing purposes -->
|
|
<Class name="~SpymemcachedTest\$.*"/>
|
|
<Bug pattern="SE_BAD_FIELD_INNER_CLASS"/>
|
|
</Match>
|
|
|
|
<Match>
|
|
<Class name="io.opentelemetry.instrumentation.api.tracer.utils.NetPeerUtils"/>
|
|
<Method name="setNetPeer"
|
|
params="io.opentelemetry.api.trace.Span,java.lang.String,java.lang.String,int"
|
|
returns="void"/>
|
|
<Bug pattern="UC_USELESS_VOID_METHOD"/>
|
|
</Match>
|
|
|
|
</FindBugsFilter>
|