diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-11-03 15:34:10 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-11-03 15:34:18 +0100 |
commit | 1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1 (patch) | |
tree | c416d3460d15e668a16d47acc09c5c867867e162 /sonar-graph | |
parent | b0d440578ea601e2f3fdc3afe624cfb13a4aea51 (diff) | |
download | sonarqube-1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1.tar.gz sonarqube-1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1.zip |
Fix coding violations
Diffstat (limited to 'sonar-graph')
-rw-r--r-- | sonar-graph/src/main/java/org/sonar/graph/IncrementalCyclesAndFESSolver.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-graph/src/main/java/org/sonar/graph/IncrementalCyclesAndFESSolver.java b/sonar-graph/src/main/java/org/sonar/graph/IncrementalCyclesAndFESSolver.java index 051cdc92f1d..e90cb46a55b 100644 --- a/sonar-graph/src/main/java/org/sonar/graph/IncrementalCyclesAndFESSolver.java +++ b/sonar-graph/src/main/java/org/sonar/graph/IncrementalCyclesAndFESSolver.java @@ -26,7 +26,6 @@ import java.util.Set; public class IncrementalCyclesAndFESSolver<V> { private Set<Cycle> cycles = new HashSet<Cycle>(); - private Set<Edge> edgesToExclude = new HashSet<Edge>(); private long searchCyclesCalls = 0; private static final int DEFAULT_MAX_SEARCH_DEPTH_AT_FIRST = 3; private static final int DEFAULT_MAX_CYCLES_TO_FOUND_BY_ITERATION = 100; @@ -46,7 +45,7 @@ public class IncrementalCyclesAndFESSolver<V> { searchCyclesCalls += cycleDetector.getSearchCyclesCalls(); cycles.addAll(cycleDetector.getCycles()); solver = new MinimumFeedbackEdgeSetSolver(cycles); - edgesToExclude = solver.getEdges(); + Set<Edge> edgesToExclude = solver.getEdges(); do { iterations++; |