diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-11-03 15:49:29 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-11-03 15:49:29 +0100 |
commit | f6f1698298ee1eed9218a1d8c7ad2945348abb52 (patch) | |
tree | 7347bce3230613567e40b1b381755450395ffeb5 /sonar-duplications/src | |
parent | 1c87ee80aeefcac5ea4934a4b8d3ccdd20dfbde1 (diff) | |
download | sonarqube-f6f1698298ee1eed9218a1d8c7ad2945348abb52.tar.gz sonarqube-f6f1698298ee1eed9218a1d8c7ad2945348abb52.zip |
Fix build with JDK5
Diffstat (limited to 'sonar-duplications/src')
-rw-r--r-- | sonar-duplications/src/main/java/org/sonar/duplications/token/TokenQueue.java | 7 |
1 files changed, 5 insertions, 2 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 a825b83e250..6fcd544e27e 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,11 +19,14 @@ */ package org.sonar.duplications.token; -import java.util.*; +import java.util.Iterator; +import java.util.LinkedList; +import java.util.List; +import java.util.ListIterator; public class TokenQueue implements Iterable<Token> { - private final Deque<Token> tokenQueue; + private final LinkedList<Token> tokenQueue; public TokenQueue(List<Token> tokenList) { tokenQueue = new LinkedList<Token>(tokenList); |