← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15561: Minor javadoc update

 

------------------------------------------------------------
revno: 15561
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-06-05 13:22:46 +0200
message:
  Minor javadoc update
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/ContextService.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-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/ContextService.java'
--- dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/ContextService.java	2014-06-05 11:11:33 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/utils/ContextService.java	2014-06-05 11:22:46 +0000
@@ -60,9 +60,12 @@
     HttpServletRequest getRequest();
 
     /**
-     * Returns a list of parameters with a given name, if the parameter doesn't exist, it will
+     * Returns a list of values from a parameter, if the parameter doesn't exist, it will
      * return a empty list.
      *
+     * Values will be split on comma, in normal Spring MVC style:
+     * include=id,name&include=created,lastUpdated => [id,name,created,lastUpdated]
+     *
      * @param name Parameter to get
      * @return List of parameter values, or empty if not found
      */