package net.congstar.jira.plugins.scrumpoker.action;

import com.atlassian.jira.web.action.JiraWebActionSupport;
import net.congstar.jira.plugins.scrumpoker.data.PlanningPokerStorage;

public class ResetDeckAction extends JiraWebActionSupport {

    private final PlanningPokerStorage planningPokerStorage;

    public ResetDeckAction(PlanningPokerStorage planningPokerStorage) {
        this.planningPokerStorage = planningPokerStorage;
    }

    @Override
    protected String doExecute() throws Exception {
        String issueKey = getHttpRequest().getParameter("issueKey");

        planningPokerStorage.resetDeck(issueKey);

        return getRedirect("/secure/startPlanningPoker.jspa?issueKey=" + issueKey);
    }

}

@@ -239,16 +239,74 @@
 port %7B%0A%0A
+    private static final long serialVersionUID = 1L;%0A    %0A
     priv

add serial version field