← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17155: set default MissingValueStrategy for Expression

 

------------------------------------------------------------
revno: 17155
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-10-17 20:13:27 +0700
message:
  set default MissingValueStrategy for Expression
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/expression/Expression.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/expression/Expression.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/expression/Expression.java	2014-08-28 12:01:44 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/expression/Expression.java	2014-10-17 13:13:27 +0000
@@ -99,7 +99,7 @@
      * Indicates whether the expression should evaluate to null if all or any
      * data values are missing in the expression.
      */
-    private MissingValueStrategy missingValueStrategy;
+    private MissingValueStrategy missingValueStrategy = MissingValueStrategy.SKIP_IF_ALL_VALUES_MISSING;
 
     /**
      * A reference to the DataElements in the Expression.