aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-squid
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-squid')
-rw-r--r--sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java b/sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java
index 253a2e35706..11740966cd1 100644
--- a/sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java
+++ b/sonar-squid/src/main/java/org/sonar/squid/recognizer/CodeRecognizer.java
@@ -42,7 +42,7 @@ public class CodeRecognizer {
}
public final List<String> extractCodeLines(List<String> lines) {
- ArrayList<String> codeLines = new ArrayList<String>();
+ List<String> codeLines = new ArrayList<String>();
for (String line : lines) {
if (recognition(line) >= threshold) {
codeLines.add(line);