=== modified file 'dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/collection/ListUtils.java' --- dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/collection/ListUtils.java 2015-06-17 14:52:34 +0000 +++ dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/collection/ListUtils.java 2015-06-18 07:47:06 +0000 @@ -88,24 +88,6 @@ } /** - * Retains only elements in the give list that are part of the given retain - * list. - * - * @param list the target list. - * @param retain the elements to retain in the target list. - */ - public static List retainAll( List list, List retain ) - { - if ( list == null || retain == null ) - { - return list; - } - - list.retainAll( retain ); - return list; - } - - /** * Returns a sublist of the given list with the elements at the given indexes. * * @param list the list to select from.