You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2021/12/03 11:39:28 UTC
[ofbiz-framework] 02/05: Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 65d2a66b35554a6d1edef36fcd16ad7deecf5906
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Fri Dec 3 04:11:01 2021 +0100
Improved: Fix some bugs Spotbugs reports (OFBIZ-12386)
Add a SpotBugs exclude file. To use refer to
https://spotbugs.readthedocs.io/en/latest/filter.html
https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html
---
spotbugs/exclude.xml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/spotbugs/exclude.xml b/spotbugs/exclude.xml
new file mode 100644
index 0000000..e5c198f
--- /dev/null
+++ b/spotbugs/exclude.xml
@@ -0,0 +1,30 @@
+<?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">
+ <Match>
+ <Class name="org.apache.ofbiz.entity.GenericEntity" />
+ <Method name="clone" />
+ <Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
+ <Priority value="2" />
+ </Match>
+ <Match>
+ <Class name="org.apache.ofbiz.entity.GenericPK" />
+ <Method name="clone" />
+ <Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
+ <Priority value="2" />
+ </Match>
+ <Match>
+ <Class name="org.apache.ofbiz.entity.GenericValue" />
+ <Method name="clone" />
+ <Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
+ <Priority value="2" />
+ </Match>
+ <Match>
+ <Class name="org.apache.ofbiz.entity.GenericValue" />
+ <Method name="clone" />
+ <Bug pattern="CN_IDIOM_NO_SUPER_CALL" />
+ <Priority value="2" />
+ </Match>
+</FindBugsFilter>