← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20355: Javadoc

 

------------------------------------------------------------
revno: 20355
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-09-24 21:49:43 +0200
message:
  Javadoc
modified:
  dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/ExpressionFunctions.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-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/ExpressionFunctions.java'
--- dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/ExpressionFunctions.java	2015-09-24 19:18:20 +0000
+++ dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/ExpressionFunctions.java	2015-09-24 19:49:43 +0000
@@ -72,6 +72,13 @@
         return ( value.doubleValue() >= 0d ) ? 1d : 0d;
     }
     
+    /**
+     * Function which will return the count of zero or positive values among the
+     * given argument values.
+     * 
+     * @param values the arguments.
+     * @return an Integer.
+     */
     public static Integer zpvc( Number... values )
     {
         if ( values == null || values.length == 0 )