dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #38085
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19443: Removed unused method
------------------------------------------------------------
revno: 19443
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-06-18 09:47:06 +0200
message:
Removed unused method
modified:
dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/collection/ListUtils.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== 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 <T> List<T> retainAll( List<T> list, List<T> 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.