aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-graph
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-01-07 12:04:37 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-01-07 12:04:37 +0100
commit720ecca97f6fff64df514446fc6fc84d6242f15f (patch)
treeeb8455cb19a9370c490f6f3c16aa0be544d78fc0 /sonar-graph
parentb4e4f1f9b3e6b888729ccd94c46d1a34ce99c012 (diff)
downloadsonarqube-720ecca97f6fff64df514446fc6fc84d6242f15f.tar.gz
sonarqube-720ecca97f6fff64df514446fc6fc84d6242f15f.zip
Fix quality flaws
Diffstat (limited to 'sonar-graph')
-rw-r--r--sonar-graph/src/main/java/org/sonar/graph/IncrementalCyclesAndFESSolver.java2
1 files changed, 1 insertions, 1 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 7837af3b5e9..9f11a68b8ee 100644
--- a/sonar-graph/src/main/java/org/sonar/graph/IncrementalCyclesAndFESSolver.java
+++ b/sonar-graph/src/main/java/org/sonar/graph/IncrementalCyclesAndFESSolver.java
@@ -55,7 +55,7 @@ public class IncrementalCyclesAndFESSolver<V> {
cycles.addAll(cycleDetector.getCycles());
solver = new MinimumFeedbackEdgeSetSolver(cycles);
edgesToExclude = solver.getEdges();
- } while (cycleDetector.getCycles().size() != 0);
+ } while (!cycleDetector.getCycles().isEmpty());
}
public int getWeightOfFeedbackEdgeSet() {