← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16874: minor fix

 

------------------------------------------------------------
revno: 16874
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-09-30 11:42:18 +0700
message:
  minor fix
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DefaultDataElementCategoryService.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/dataelement/DefaultDataElementCategoryService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DefaultDataElementCategoryService.java	2014-09-12 14:17:36 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/DefaultDataElementCategoryService.java	2014-09-30 04:42:18 +0000
@@ -694,10 +694,10 @@
             {
                 for ( DataElementCategoryOptionCombo categoryOptionCombo : dataElement.getCategoryCombo().getOptionCombos() )
                 {
-                    DataElementOperand operand = new DataElementOperand( dataElement, categoryOptionCombo );
-                    operand.updateProperties( dataElement, categoryOptionCombo );
+                    DataElementOperand dataElementOperand = new DataElementOperand( dataElement, categoryOptionCombo );
+                    dataElementOperand.updateProperties( dataElement, categoryOptionCombo );
     
-                    operands.add( operand );
+                    operands.add( dataElementOperand );
                 }
             }
         }