From 2d37e6afa362160ffcdecc31c36855ba4ab060d0 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Mon, 7 Nov 2011 22:58:12 +0100 Subject: fix violations --- sonar-graph/src/main/java/org/sonar/graph/FeedbackCycle.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sonar-graph/src') diff --git a/sonar-graph/src/main/java/org/sonar/graph/FeedbackCycle.java b/sonar-graph/src/main/java/org/sonar/graph/FeedbackCycle.java index a23cb74c9f0..5c202597db6 100644 --- a/sonar-graph/src/main/java/org/sonar/graph/FeedbackCycle.java +++ b/sonar-graph/src/main/java/org/sonar/graph/FeedbackCycle.java @@ -29,6 +29,9 @@ import java.util.Set; import com.google.common.collect.HashMultiset; import com.google.common.collect.Multiset; +/** + * Note: this class has a natural ordering that is inconsistent with equals + */ public final class FeedbackCycle implements Iterable, Comparable { private List orderedFeedbackEdges; @@ -89,7 +92,7 @@ public final class FeedbackCycle implements Iterable, Comparable