From e5682a3af5ca9d3a238c268b01a917722c0a2705 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Mon, 4 May 2009 16:30:48 -0700 Subject: [PATCH] FindBugs: Disable clone() idiom tests We tend not to implement Cloneable, but instead define our own form of clone() on objects that we want to permit making clones of. This is because Cloneable is a rather poor interface in the JVM with its implicit field copying, but the method name is the right name for us. Signed-off-by: Shawn O. Pearce Signed-off-by: Robin Rosenberg --- org.spearce.jgit/.fbprefs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.spearce.jgit/.fbprefs b/org.spearce.jgit/.fbprefs index d6f94c3e..81a0767f 100644 --- a/org.spearce.jgit/.fbprefs +++ b/org.spearce.jgit/.fbprefs @@ -1,5 +1,5 @@ #FindBugs User Preferences -#Mon May 04 20:17:32 CEST 2009 +#Mon May 04 16:24:13 PDT 2009 detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true detectorBadAppletConstructor=BadAppletConstructor|false detectorBadResultSetAccess=BadResultSetAccess|true @@ -10,7 +10,7 @@ detectorBooleanReturnNull=BooleanReturnNull|true detectorCallToUnsupportedMethod=CallToUnsupportedMethod|true detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true detectorCheckTypeQualifiers=CheckTypeQualifiers|true -detectorCloneIdiom=CloneIdiom|true +detectorCloneIdiom=CloneIdiom|false detectorComparatorIdiom=ComparatorIdiom|true detectorConfusedInheritance=ConfusedInheritance|true detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true -- 2.11.4.GIT