cleanup old code
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 3 Feb 2009 05:16:58 +0000 (05:16 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 3 Feb 2009 05:16:58 +0000 (05:16 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3312 04897980-b3bd-0310-b5e0-8ef037075253

trunk/obsolete/ltt-usertrace/java/ltt-java-string.c
trunk/obsolete/ltt-usertrace/java/ltt-java-thread_brand.c

index be011fb51687a50a55f08681db8888d05577b410..9ad87f6ca81706f152f31f9cdade3fc41e51b6af 100644 (file)
@@ -1,4 +1,3 @@
-
 #include <jni.h>
 #include "Sample.h"
 #include <stdio.h>
@@ -13,8 +12,8 @@ JNIEXPORT void JNICALL Java_Sample_trace_1java_1generic_1string
 {
   const char *str;
   str = (*env)->GetStringUTFChars(env, jstr, NULL);
-  if (str == NULL) return; // out of memory error thrown
-       trace_user_generic_string(str);
+  if (str == NULL)
+    return; /* out of memory error thrown */
+  trace_user_generic_string(str);
   (*env)->ReleaseStringUTFChars(env, jstr, str);
 }
-
index 87041cc105403abb5b8f667a6bc21a29a94cdbb9..113030151233f842073b53ca5caf3647a65c729a 100644 (file)
@@ -1,4 +1,3 @@
-
 #include <jni.h>
 #include "Sample.h"
 #include <stdio.h>
@@ -13,8 +12,8 @@ JNIEXPORT void JNICALL Java_ltt_ThreadBrand_trace_1java_1generic_1thread_1brand
 {
   const char *str;
   str = (*env)->GetStringUTFChars(env, jstr, NULL);
-  if (str == NULL) return; // out of memory error thrown
-       trace_user_generic_thread_brand(str);
+  if (str == NULL)
+    return; /* out of memory error thrown */
+  trace_user_generic_thread_brand(str);
   (*env)->ReleaseStringUTFChars(env, jstr, str);
 }
-
This page took 0.02566 seconds and 4 git commands to generate.