added modifications support to svn changesetviewer

This commit is contained in:
Sebastian Sdorra
2011-04-18 18:11:50 +02:00
parent 2c209e4161
commit 1dd3f429e5
2 changed files with 79 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ import java.text.SimpleDateFormat;
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.Map;
import java.util.TimeZone;
/**
@@ -349,6 +350,20 @@ public class Util
return (collection == null) || collection.isEmpty();
}
/**
* Method description
*
*
*
* @param map
*
* @return
*/
public static boolean isEmpty(Map<?, ?> map)
{
return (map == null) || map.isEmpty();
}
/**
* Method description
*
@@ -404,6 +419,20 @@ public class Util
return (collection != null) &&!collection.isEmpty();
}
/**
* Method description
*
*
*
* @param map
*
* @return
*/
public static boolean isNotEmpty(Map<?, ?> map)
{
return (map != null) &&!map.isEmpty();
}
/**
* Method description
*