diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-01-07 12:04:37 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-01-07 12:04:37 +0100 |
commit | 720ecca97f6fff64df514446fc6fc84d6242f15f (patch) | |
tree | eb8455cb19a9370c490f6f3c16aa0be544d78fc0 /sonar-graph | |
parent | b4e4f1f9b3e6b888729ccd94c46d1a34ce99c012 (diff) | |
download | sonarqube-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.java | 2 |
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() { |