package ru.yandex.qatools.allure.storages;

import ru.yandex.qatools.allure.model.Step;

import java.util.LinkedList;

/**
 * @author Dmitry Baev charlie@yandex-team.ru
 *         Date: 13.12.13
 */
public class StepStorage extends ThreadLocal<LinkedList<Step>> {
    @Override
    protected LinkedList<Step> initialValue() {
        LinkedList<Step> queue = new LinkedList<>();
        queue.add(new Step());
        return queue;
    }

    public Step getLast() {
        return get().getLast();
    }

    public void put(Step step) {
        get().add(step);
    }

    public Step pollLast() {
        return get().pollLast();
    }
}

@@ -82,16 +82,40 @@
 .Step;%0A%0A
+import java.util.Deque;%0A
 import j
@@ -261,26 +261,21 @@
 adLocal%3C
-LinkedList
+Deque
 %3CStep%3E%3E 
@@ -304,26 +304,21 @@
 otected 
-LinkedList
+Deque
 %3CStep%3E i
@@ -341,26 +341,21 @@
         
-LinkedList
+Deque
 %3CStep%3E q

Use interface instead of class in generic