Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename Process.currentProcess() to Process.getCurrentProcess()
authorMartin Quinson <martin.quinson@loria.fr>
Sat, 4 Apr 2015 14:24:13 +0000 (16:24 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sat, 4 Apr 2015 14:24:13 +0000 (16:24 +0200)
ChangeLog
src/bindings/java/jmsg_process.c
src/bindings/java/jmsg_process.h
src/bindings/java/org/simgrid/msg/Process.java

index 5cdf3a6..a9f1513 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@ SimGrid (3.12) NOT RELEASED; urgency=low
  jMSG:
  * Interface improvement:
    - Rename Host.isAvail() to Host.isOn()
  jMSG:
  * Interface improvement:
    - Rename Host.isAvail() to Host.isOn()
+   - Rename Process.currentProcess() to Process.getCurrentProcess()
    
  SIMIX:
  * New functions
    
  SIMIX:
  * New functions
index 8625d25..a65f183 100644 (file)
@@ -225,7 +225,7 @@ Java_org_simgrid_msg_Process_getProperty(JNIEnv *env, jobject jprocess, jobject
   return jproperty;
 }
 JNIEXPORT jobject JNICALL
   return jproperty;
 }
 JNIEXPORT jobject JNICALL
-Java_org_simgrid_msg_Process_currentProcess(JNIEnv * env, jclass cls)
+Java_org_simgrid_msg_Process_getCurrentProcess(JNIEnv * env, jclass cls)
 {
   msg_process_t process = MSG_process_self();
   jobject jprocess;
 {
   msg_process_t process = MSG_process_self();
   jobject jprocess;
index 54b211d..60d3aed 100644 (file)
@@ -184,7 +184,7 @@ Java_org_simgrid_msg_Process_getProperty(JNIEnv *env, jobject jprocess, jobject
  * Method              currentProcess
  * Signature   ()Lorg/simgrid/msg/Process;
  */
  * Method              currentProcess
  * Signature   ()Lorg/simgrid/msg/Process;
  */
-JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Process_currentProcess
+JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Process_getCurrentProcess
     (JNIEnv *, jclass);
 /*
  * Class               org_simgrid_msg_Process
     (JNIEnv *, jclass);
 /*
  * Class               org_simgrid_msg_Process
index 5791ccd..d5678d7 100644 (file)
@@ -304,7 +304,7 @@ public abstract class Process implements Runnable {
         * @return                              The current process.
         *
         */ 
         * @return                              The current process.
         *
         */ 
-       public static native Process currentProcess();
+       public static native Process getCurrentProcess();
        /**
         * Migrates a process to another host.
         *
        /**
         * Migrates a process to another host.
         *