← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6734: [mobile] temporarily remove OptionSet support for release

 

------------------------------------------------------------
revno: 6734
committer: Long <thanhlongngo1988>
branch nick: dhis2
timestamp: Thu 2012-04-26 04:27:53 +0700
message:
  [mobile] temporarily remove OptionSet support for release
modified:
  dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/api/mobile/model/DataElement.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-mobile/src/main/java/org/hisp/dhis/api/mobile/model/DataElement.java'
--- dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/api/mobile/model/DataElement.java	2012-04-13 08:27:30 +0000
+++ dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/api/mobile/model/DataElement.java	2012-04-25 21:27:53 +0000
@@ -110,17 +110,6 @@
                 dout.writeUTF( each.getName() );
             }
         }
-
-        OptionSet optionSet = this.getOptionSet();
-
-        if ( optionSet == null )
-        {
-            dout.writeInt( 0 );
-        }
-        else
-        {
-            optionSet.serialize( dout );
-        }
     }
 
 }