diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2020-12-04 11:38:44 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-12-22 10:53:00 +0100 |
commit | d7b94f019449a8d5210b3bdd8dc439d508d227d5 (patch) | |
tree | 6bd9954ad3448d9b05bf8d0c840d59e1869e291b /org.eclipse.jgit.test/findBugs | |
parent | 21262e98fe6ccb397f7d8af0fca6c8b8c0de2794 (diff) | |
download | jgit-d7b94f019449a8d5210b3bdd8dc439d508d227d5.tar.gz jgit-d7b94f019449a8d5210b3bdd8dc439d508d227d5.zip |
[spotbugs] Silence CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE in jgit tests
We want complete control over clone behavior and don't want to use
Object's clone implementation.
Change-Id: I34a4e967f8aa3879c69a4978768bd35712c4105c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.test/findBugs')
-rw-r--r-- | org.eclipse.jgit.test/findBugs/FindBugsExcludeFilter.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.jgit.test/findBugs/FindBugsExcludeFilter.xml b/org.eclipse.jgit.test/findBugs/FindBugsExcludeFilter.xml new file mode 100644 index 0000000000..b4ef95379b --- /dev/null +++ b/org.eclipse.jgit.test/findBugs/FindBugsExcludeFilter.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<FindBugsFilter> + <!-- We want complete control over clone behavior and + don't want to use Object's clone implementation. + --> + <Match> + <Bug pattern="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE" /> + </Match> +</FindBugsFilter> |