/*
 * $Id: Base62.java 988 2008-12-30 08:51:13Z lhoriman $
 * $URL: http://subetha.tigris.org/svn/subetha/branches/resin/core/src/org/subethamail/core/util/Base62.java $
 */

package org.subethamail.core.util;

import java.util.ArrayList;
import java.util.Collection;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * Some helper methods for dealing with collections
 * 
 * @author Jeff Schnitzer
 */
public class CollectionUtils
{
	/** */
	@SuppressWarnings("unused")
	private final static Logger log = LoggerFactory.getLogger(CollectionUtils.class);

	/** default constructor prevents util class from being created. */
	private CollectionUtils() {}
	
	/**
	 * Creates a new ArrayList which if possible is sized the same as the passed in
	 * iterable (ie only if it is actually a Collection). 
	 */
	public static <T> ArrayList<T> newArrayListSized(Iterable<?> fromSize)
	{
		if (fromSize instanceof Collection<?>)
			return new ArrayList<T>(((Collection<?>)fromSize).size());
		else
			return new ArrayList<T>();
	}
	
}	
@@ -283,57 +283,30 @@
 ort 
-org.slf4j.Logger;%0D%0Aimport org.slf4j.LoggerFactory
+lombok.extern.java.Log
 ;%0D%0A%0D
@@ -403,16 +403,22 @@
 r%0D%0A */%0D%0A
+@Log%0D%0A
 public c
@@ -443,136 +443,11 @@
 ls%0D%0A
+
 %7B%0D%0A
-%09/** */%0D%0A%09@SuppressWarnings(%22unused%22)%0D%0A%09private final static Logger log = LoggerFactory.getLogger(CollectionUtils.class);%0D%0A%0D%0A
 %09/**

switch logging framework