Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reindent everything (possibly breaking all branches, but for the last time)
[simgrid.git] / src / java / jmsg_channel.c
index 9288a93..4b3d34c 100644 (file)
@@ -9,16 +9,17 @@
  * This contains the implementation of the functions in relation with the java
  * channel instance. 
  */
+
 #include "jmsg_channel.h"
 #include "jmsg.h"
 #include "jxbt_utilities.h"
 
-jint jchannel_get_id(jobject jchannel,JNIEnv* env) {
-  jmethodID id  = jxbt_get_smethod(env, "simgrid/msg/Channel", "getId", "()I");
-       
-  if(!id)
+jint jchannel_get_id(jobject jchannel, JNIEnv * env)
+{
+  jmethodID id = jxbt_get_smethod(env, "simgrid/msg/Channel", "getId", "()I");
+
+  if (!id)
     return -1;
-       
-  return (*env)->CallIntMethod(env,jchannel, id);              
+
+  return (*env)->CallIntMethod(env, jchannel, id);
 }