aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-duplications
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-09-01 17:27:45 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2014-09-01 17:28:09 +0200
commita9bd7ecdd2b0f138275c1bb2954ab6ee9b804844 (patch)
treefb1759dc69571ef8050ced531609c69045578b25 /sonar-duplications
parented80a6430099a0dfd3bc7f016a8392bf22896b74 (diff)
downloadsonarqube-a9bd7ecdd2b0f138275c1bb2954ab6ee9b804844.tar.gz
sonarqube-a9bd7ecdd2b0f138275c1bb2954ab6ee9b804844.zip
Fix some quality flaws
Diffstat (limited to 'sonar-duplications')
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/internal/pmd/PmdBlockChunker.java2
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()) {