From f6f1698298ee1eed9218a1d8c7ad2945348abb52 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 3 Nov 2011 15:49:29 +0100 Subject: Fix build with JDK5 --- .../src/main/java/org/sonar/duplications/token/TokenQueue.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sonar-duplications') 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 { - private final Deque tokenQueue; + private final LinkedList tokenQueue; public TokenQueue(List tokenList) { tokenQueue = new LinkedList(tokenList); -- cgit v1.2.3