← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13667: Minor

 

------------------------------------------------------------
revno: 13667
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-01-09 11:14:43 +0100
message:
  Minor
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/ValidationRuleGroupDeletionHandler.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-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/ValidationRuleGroupDeletionHandler.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/ValidationRuleGroupDeletionHandler.java	2013-08-23 16:05:01 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/ValidationRuleGroupDeletionHandler.java	2014-01-09 10:14:43 +0000
@@ -34,7 +34,6 @@
 
 /**
  * @author Lars Helge Overland
- * @version $Id$
  */
 public class ValidationRuleGroupDeletionHandler
     extends DeletionHandler
@@ -67,7 +66,7 @@
         while ( iterator.hasNext() )
         {
             ValidationRuleGroup group = iterator.next();
-            group.getMembers().remove( validationRule );
+            group.removeValidationRule( validationRule );
             validationRuleService.updateValidationRuleGroup( group );
         }
     }