aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-duplications/src/main/java/org/sonar
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-11-03 15:34:10 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2011-11-03 15:34:18 +0100
commit1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1 (patch)
treec416d3460d15e668a16d47acc09c5c867867e162 /sonar-duplications/src/main/java/org/sonar
parentb0d440578ea601e2f3fdc3afe624cfb13a4aea51 (diff)
downloadsonarqube-1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1.tar.gz
sonarqube-1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1.zip
Fix coding violations
Diffstat (limited to 'sonar-duplications/src/main/java/org/sonar')
-rw-r--r--sonar-duplications/src/main/java/org/sonar/duplications/token/TokenQueue.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/token/TokenQueue.java b/sonar-duplications/src/main/java/org/sonar/duplications/token/TokenQueue.java
index 6fcd544e27e..a825b83e250 100644
--- a/sonar-duplications/src/main/java/org/sonar/duplications/token/TokenQueue.java
+++ b/sonar-duplications/src/main/java/org/sonar/duplications/token/TokenQueue.java
@@ -19,14 +19,11 @@
*/
package org.sonar.duplications.token;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.ListIterator;
+import java.util.*;
public class TokenQueue implements Iterable<Token> {
- private final LinkedList<Token> tokenQueue;
+ private final Deque<Token> tokenQueue;
public TokenQueue(List<Token> tokenList) {
tokenQueue = new LinkedList<Token>(tokenList);