package cgeo.geocaching.utils;

import java.util.List;
import java.util.Map;

public class CollectionUtils {

    public static <T> boolean isEmpty(List<T> list) {
        return (list != null && list.size() == 0);
    }

    public static <T, T2> boolean isEmpty(Map<T, T2> map) {
        return (map != null && map.size() == 0);
    }

    public static <T> boolean isNotEmpty(List<T> list) {
        return (list != null && list.size() != 0);
    }

    public static <T, T2> boolean isNotEmpty(Map<T, T2> map) {
        return (map != null && map.size() != 0);
    }

}

@@ -176,41 +176,37 @@
 urn 
-(
 list 
-!
+=
 = null 
-&&
+%7C%7C
  list.
-size() == 0
+isEmpty(
 );%0A 
@@ -290,39 +290,35 @@
 urn 
-(
 map 
-!
+=
 = null 
-&&
+%7C%7C
  map.
-size() == 0
+isEmpty(
 );%0A 

Fix semantics of cgeo.geocaching.utils.CollectionUtils.isEmpty()