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

package org.subethamail.web.action;

import lombok.Getter;
import lombok.Setter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.subethamail.web.Backend;
import org.subethamail.web.action.auth.AuthAction;

/**
 * Deletes a role.
 * 
 * @author Jeff Schnitzer
 */
public class RoleDelete extends AuthAction 
{
	/** */
	@SuppressWarnings("unused")
	private final static Logger log = LoggerFactory.getLogger(RoleDelete.class);

	/** The role to delete */
	@Getter @Setter Long deleteRoleId;
	
	/** Convert all members who had that role to this role */
	@Getter @Setter Long convertToRoleId;
	
	/** This is filled in afterwards so we know where to redirect to */
	@Getter @Setter Long listId;

	/** */
	public void execute() throws Exception
	{
		this.listId = Backend.instance().getListMgr().deleteRole(this.deleteRoleId, this.convertToRoleId);
	}
}

@@ -112,67 +112,40 @@
 r;%0D%0A
-%0D%0A
 import 
-org.slf4j.Logger;%0D%0Aimport org.slf4j.LoggerFactory;
+lombok.extern.java.Log;%0D%0A
 %0D%0Aim
@@ -295,16 +295,22 @@
 r%0D%0A */%0D%0A
+@Log%0D%0A
 public c
@@ -353,128 +353,8 @@
 %0A%7B%0D%0A
-%09/** */%0D%0A%09@SuppressWarnings(%22unused%22)%0D%0A%09private final static Logger log = LoggerFactory.getLogger(RoleDelete.class);%0D%0A%0D%0A
 %09/**

switch logging framework