summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/findBugs
diff options
context:
space:
mode:
authorRobin Stocker <robin@nibor.org>2010-10-29 14:26:33 +0200
committerRobin Stocker <robin@nibor.org>2010-10-29 14:26:33 +0200
commit90c11cbaeb83ee9b02238cbd2c0e5bcf68068772 (patch)
tree1da05aa0b12070053a11e5373182ad37a240987e /org.eclipse.jgit/findBugs
parent7f939ba86e4c4ce379b4dc62045109a91e97dd72 (diff)
downloadjgit-90c11cbaeb83ee9b02238cbd2c0e5bcf68068772.tar.gz
jgit-90c11cbaeb83ee9b02238cbd2c0e5bcf68068772.zip
Exclude FindBugs warnings about Cloneable
This was already disabled in the Eclipse preferences for the project. With this, Hudson should also ignore it. Change-Id: I7a6b9a20451dc5ba9a61553248b5f4b6c6c7a78b
Diffstat (limited to 'org.eclipse.jgit/findBugs')
-rw-r--r--org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml b/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml
index 0383ad9b87..4027ce7974 100644
--- a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml
+++ b/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml
@@ -24,4 +24,11 @@
<Class name="org.eclipse.jgit.util.StringUtils" />
<Bug pattern="ES_COMPARING_PARAMETER_STRING_WITH_EQ" />
</Match>
+
+ <!-- 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>