From a9bd7ecdd2b0f138275c1bb2954ab6ee9b804844 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 1 Sep 2014 17:27:45 +0200 Subject: Fix some quality flaws --- .../main/java/org/sonar/duplications/internal/pmd/PmdBlockChunker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-duplications') 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 chunk(String resourceId, List fragments) { + public List chunk(String resourceId, List fragments) { List filtered = Lists.newArrayList(); int i = 0; while (i < fragments.size()) { -- cgit v1.2.3