diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-03-27 21:26:17 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-03-27 21:26:17 +0200 |
commit | 2b560c35ab24a4f7db27d7e180a64e830b9a56a1 (patch) | |
tree | 59318ddf4d2e78688a7fa2ced83b37f921f6eac8 /sonar-duplications/src | |
parent | 9559e69e14d6123c3e03335e7d9b416cbac5e576 (diff) | |
download | sonarqube-2b560c35ab24a4f7db27d7e180a64e830b9a56a1.tar.gz sonarqube-2b560c35ab24a4f7db27d7e180a64e830b9a56a1.zip |
fix coding violations
Diffstat (limited to 'sonar-duplications/src')
-rw-r--r-- | sonar-duplications/src/main/java/org/sonar/duplications/cpd/MatchAlgorithm.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/cpd/MatchAlgorithm.java b/sonar-duplications/src/main/java/org/sonar/duplications/cpd/MatchAlgorithm.java index c94b69fee14..6b509c315b8 100644 --- a/sonar-duplications/src/main/java/org/sonar/duplications/cpd/MatchAlgorithm.java +++ b/sonar-duplications/src/main/java/org/sonar/duplications/cpd/MatchAlgorithm.java @@ -94,7 +94,7 @@ public class MatchAlgorithm { } cpdListener.phaseUpdate(CPDListener.GROUPING); matches = matchCollector.getMatches(); - matchCollector = null; + for (Match match : matches) { for (Iterator<TokenEntry> occurrences = match.iterator(); occurrences.hasNext();) { TokenEntry mark = occurrences.next(); |