← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18159: Code style

 

------------------------------------------------------------
revno: 18159
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-02-03 06:35:42 -0500
message:
  Code style
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.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/DataElementCategoryCombo.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.java	2015-02-02 13:06:15 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementCategoryCombo.java	2015-02-03 11:35:42 +0000
@@ -218,11 +218,12 @@
     public void generateOptionCombos()
     {
         this.optionCombos = new HashSet<>( generateOptionCombosList() );
-        for (DataElementCategoryOptionCombo optionCombo : optionCombos)
+
+        for ( DataElementCategoryOptionCombo optionCombo : optionCombos )
         {
-            for (DataElementCategoryOption categoryOption : optionCombo.getCategoryOptions())
+            for ( DataElementCategoryOption categoryOption : optionCombo.getCategoryOptions() )
             {
-                categoryOption.addCategoryOptionCombo(optionCombo);
+                categoryOption.addCategoryOptionCombo( optionCombo );
             }
         }
     }