In exclude.xml: removes Confidence lines, no need to complicate things Adds 2 DC_DOUBLECHECK false reports; synchronized is used there (maybe not the best way but it's OK as is) In ProductConfigWrapper::equals fixes use of == instead of equals (tested) In UspsServices::uspsPriorityMailInternationalLabel fixes 2 possible null dereferencements In EntityExpr::checkRhsType fixes a possible null dereferencement
34 lines
1.3 KiB
XML
34 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<FindBugsFilter
|
|
xmlns="https://github.com/spotbugs/filter/3.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
|
|
|
|
<!-- CN_IDIOM_NO_SUPER_CALL = clone method does not call supper.clone(). OK since shallow clone wanted-->
|
|
<Match>
|
|
<Class name="org.apache.ofbiz.entity.GenericEntity" />
|
|
<Method name="clone" />
|
|
<Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
|
|
</Match>
|
|
<Match>
|
|
<Class name="org.apache.ofbiz.entity.GenericPK" />
|
|
<Method name="clone" />
|
|
<Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
|
|
</Match>
|
|
<Match>
|
|
<Class name="org.apache.ofbiz.entity.GenericValue" />
|
|
<Method name="clone" />
|
|
<Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
|
|
</Match>
|
|
<Match>
|
|
<Class name="org.apache.ofbiz.webapp.view.ApacheFopWorker" />
|
|
<Method name="getFactoryInstance" />
|
|
<Bug pattern="DC_DOUBLECHECK" />
|
|
</Match>
|
|
<Match>
|
|
<Class name="org.apache.ofbiz.accounting.thirdparty.valuelink.ValueLinkApi" />
|
|
<Method name="getWorkingKeyIndex" />
|
|
<Bug pattern="DC_DOUBLECHECK" />
|
|
</Match>
|
|
</FindBugsFilter>
|