fix wrong commit message and commit date in git repository

This commit is contained in:
Sebastian Sdorra
2011-06-22 13:31:55 +02:00
parent bef3d08eb5
commit 332f915f52
2 changed files with 73 additions and 21 deletions

View File

@@ -439,6 +439,50 @@ public class Util
//~--- get methods ----------------------------------------------------------
/**
* Method description
*
*
* @param iterable
* @param <T>
*
* @return
* @since 1.5
*/
public static <T> T getFirst(Iterable<T> iterable)
{
T result = null;
if (iterable != null)
{
result = getFirst(iterable.iterator());
}
return result;
}
/**
* Method description
*
*
* @param iterator
* @param <T>
*
* @return
* @since 1.5
*/
public static <T> T getFirst(Iterator<T> iterator)
{
T result = null;
if ((iterator != null) && iterator.hasNext())
{
result = iterator.next();
}
return result;
}
/**
* Method description
*