diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-11-03 15:34:10 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-11-03 15:34:18 +0100 |
commit | 1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1 (patch) | |
tree | c416d3460d15e668a16d47acc09c5c867867e162 /sonar-duplications/src/main/java/org/sonar | |
parent | b0d440578ea601e2f3fdc3afe624cfb13a4aea51 (diff) | |
download | sonarqube-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.java | 7 |
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); |