Ignore:
Timestamp:
Mar 13, 2015, 3:24:44 PM (6 years ago)
Author:
djay
Message:

Fix typo and update the Java part of the documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal_java.c

    r580 r613  
    303303 * Create a string containing the JVM -XX:* option for a given map
    304304 * Depending on the map' name:
    305  *  - in case the value is minus then the reult will be : -XX:-name
    306  *  - in case the value is plus then the reult will be : -XX:+name
    307  *  - in other cases the reult will be : -XX:name=value
     305 *  - in case the value is minus then the result will be : -XX:-name
     306 *  - in case the value is plus then the result will be : -XX:+name
     307 *  - in other cases the result will be : -XX:name=value
    308308 *
    309309 * @param m the map containing the option
     
    322322
    323323/**
    324  * Create a string containing the JVM -X*:* option for a given map.
    325  * The reult will be in the following format: -Xname:value
     324 * Create a string containing the JVM -X** option for a given map.
     325 * The result will be in the following format: -Xnamevalue
    326326 *
    327327 * @param m the map containing the option
    328  * @return a char* containing the valide JVM option (-XX:*)
     328 * @return a char* containing the valide JVM option (-X**)
    329329 */
    330330char *parseJVMXOption(map* m){
    331331  char *res=(char*)malloc((strlen(m->name)+strlen(m->value)+5)*sizeof(char));
    332   sprintf(res,"-X%s:%s",m->name,m->value);
     332  sprintf(res,"-X%s%s",m->name,m->value);
    333333  return res;
    334334}
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png