/*
 * $Id$
 * $URL$
 */

package org.subethamail.web.action;

import lombok.Getter;
import lombok.Setter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.subethamail.core.lists.i.ListData;
import org.subethamail.web.Backend;
import org.subethamail.web.action.auth.AuthAction;

/**
 * Gets the data for a list.  Model becomes a ListData.
 * 
 * @author Jeff Schnitzer
 */
public class GetList extends AuthAction 
{
	/** */
	@SuppressWarnings("unused")
	private final static Logger log = LoggerFactory.getLogger(GetList.class);
	
	/** */
	@Getter @Setter Long listId;
	
	/** */
	public void execute() throws Exception
	{
		ListData data = Backend.instance().getListMgr().getList(this.listId);
		this.getCtx().setModel(data);
	}
	
}

@@ -114,67 +114,8 @@
 %0D%0A%0D%0A
-import org.slf4j.Logger;%0D%0Aimport org.slf4j.LoggerFactory;%0D%0A
 impo
@@ -405,126 +405,8 @@
 */%0D%0A
-%09@SuppressWarnings(%22unused%22)%0D%0A%09private final static Logger log = LoggerFactory.getLogger(GetList.class);%0D%0A%09%0D%0A%09/** */%0D%0A
 %09@Ge

switch logging framework