------------------------------------------------------------ revno: 20219 committer: Lars Helge Overland <larshe...@gmail.com> branch nick: dhis2 timestamp: Thu 2015-09-17 18:01:21 +0200 message: Unused method modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.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-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java 2015-09-16 14:49:50 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryOptionCombo.java 2015-09-17 16:01:21 +0000 @@ -250,26 +250,6 @@ return names1.equals( names2 ); } - /** - * Tests if this object equals to an object in the given Collection on a - * name basis. - * - * @param categoryOptionCombos the Collection. - * @return true if the Collection contains this object, false otherwise. - */ - public DataElementCategoryOptionCombo get( Collection<DataElementCategoryOptionCombo> categoryOptionCombos ) - { - for ( DataElementCategoryOptionCombo combo : categoryOptionCombos ) - { - if ( combo.equalsOnName( this ) ) - { - return combo; - } - } - - return null; - } - public boolean isDefault() { return categoryCombo != null && categoryCombo.getName().equals( DEFAULT_NAME );
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp