dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27211
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13511: Minor
------------------------------------------------------------
revno: 13511
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-12-31 09:54:20 +0100
message:
Minor
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroup.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/organisationunit/OrganisationUnitGroup.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroup.java 2013-11-20 14:47:27 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/organisationunit/OrganisationUnitGroup.java 2013-12-31 08:54:20 +0000
@@ -93,16 +93,16 @@
// Logic
// -------------------------------------------------------------------------
- public void addOrganisationUnit( OrganisationUnit organisationUnit )
+ public boolean addOrganisationUnit( OrganisationUnit organisationUnit )
{
members.add( organisationUnit );
- organisationUnit.getGroups().add( this );
+ return organisationUnit.getGroups().add( this );
}
- public void removeOrganisationUnit( OrganisationUnit organisationUnit )
+ public boolean removeOrganisationUnit( OrganisationUnit organisationUnit )
{
members.remove( organisationUnit );
- organisationUnit.getGroups().remove( this );
+ return organisationUnit.getGroups().remove( this );
}
public void removeAllOrganisationUnits()