diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-09-01 17:27:45 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-09-01 17:28:09 +0200 |
commit | a9bd7ecdd2b0f138275c1bb2954ab6ee9b804844 (patch) | |
tree | fb1759dc69571ef8050ced531609c69045578b25 /sonar-duplications/src/main/java | |
parent | ed80a6430099a0dfd3bc7f016a8392bf22896b74 (diff) | |
download | sonarqube-a9bd7ecdd2b0f138275c1bb2954ab6ee9b804844.tar.gz sonarqube-a9bd7ecdd2b0f138275c1bb2954ab6ee9b804844.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-duplications/src/main/java')
-rw-r--r-- | sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/PmdBlockChunker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/PmdBlockChunker.java b/sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/PmdBlockChunker.java index b0ae419332a..c2e42cad0a1 100644 --- a/sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/PmdBlockChunker.java +++ b/sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/PmdBlockChunker.java @@ -51,7 +51,7 @@ public class PmdBlockChunker { /** * @return ArrayList as we need a serializable object */ - public ArrayList<Block> chunk(String resourceId, List<TokensLine> fragments) { + public List<Block> chunk(String resourceId, List<TokensLine> fragments) { List<TokensLine> filtered = Lists.newArrayList(); int i = 0; while (i < fragments.size()) { |