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
diff --git a/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml b/org.eclipse.jgit/findBugs/FindBugsExcludeFilter.xml index 0383ad9..4027ce7 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>