Fix typos in comments in JNI. Also remove a (now useless) function not linked to...
authorWilliam Bourque <william.bourque@polymtl.ca>
Mon, 10 May 2010 19:59:32 +0000 (19:59 +0000)
committerWilliam Bourque <william.bourque@polymtl.ca>
Mon, 10 May 2010 19:59:32 +0000 (19:59 +0000)
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniEvent.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniMarker.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniTrace.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/JniTracefile.java
org.eclipse.linuxtools.lttng.jni/src/org/eclipse/linuxtools/lttng/jni/factory/JniTraceVersion.java

index bb86731f9c8ac40183d2b7fb4dabe38c71e41d64..48dee4a666ef3e2c17226fbdcd4d57cce35cdd80 100644 (file)
@@ -41,7 +41,7 @@ public abstract class JniEvent extends Jni_C_Common implements Comparable<JniEve
 {
     // Variables to detect if the event have been filled at least once
     // this make possible the detection of "uninitialized" struct in Ltt
-    // Can be "EOK", "ERANGE" or "EPERM" (defined in Jaf_C_Common)
+    // Can be "EOK", "ERANGE" or "EPERM" (defined in Jni_C_Common)
     private int eventState = EPERM; // Start with EPERM to ensure sanity
 
     // Internal C pointer of the JniEvent used in LTT
index d98fd1989cf719135f4c19aee0e8ce742744361f..dbad6c11951c3f1e60082e8c69ad3be027647269 100644 (file)
@@ -131,7 +131,7 @@ public abstract class JniMarker extends Jni_C_Common
      * @param markerFieldPtr    C Pointer (converted in long) to marker_field C Structure
      */
        private void addMarkerFieldFromC(String markerFieldName, long markerFieldPtr) {
-        // Create a new Jaf_markerField object and insert it in the map
+        // Create a new Jni_markerField object and insert it in the map
         // the maker field fill itself with LTT data while being constructed
         try {
             JniMarkerField newMarkerField = allocateNewJniMarkerField( new Jni_C_Pointer_And_Library_Id(thisMarkerPtr.getLibraryId(), markerFieldPtr));
index 7b3820e14037da6d1545d27735b3b488fae11292..9387662a377a0c304f08b82e5112133eb9e56d68 100644 (file)
@@ -221,7 +221,7 @@ public abstract class JniTrace extends Jni_C_Common {
      * Open an existing trace.<p>
      * 
      * The tracepath is a directory and needs to exist, otherwise
-     * a JafOpenTraceFailedException is throwed.
+     * a JniOpenTraceFailedException is throwed.
      * 
      * @param newPath The <b>directory</b> of the trace to be opened
      * 
index a7796f8acab129299c567c61e8ed640e62ac94ba..842d23b97d820f9a07f8c93b93133e407149a5a8 100644 (file)
@@ -184,7 +184,7 @@ public abstract class JniTracefile extends Jni_C_Common
             populateTracefileInformation();
         } 
         catch (JniNoSuchEventException e) {
-            throw new JniTracefileWithoutEventException("JniEvent constructor reported that no event of this type are usable. (Jaf_Tracefile)");
+            throw new JniTracefileWithoutEventException("JniEvent constructor reported that no event of this type are usable. (Jni_Tracefile)");
         }
     }        
 
index b3727d7c84118cdf0a32bb6fbe179da9ec98d7a7..4b1e6f0e292f9a3261772e1a649501fc8929fae0 100644 (file)
@@ -28,7 +28,6 @@ public class JniTraceVersion {
        
        // Native access functions
        protected native void ltt_getTraceVersion(String tracepath);
-       protected native void ltt_setLibraryPath(String ldLibraryPath);
        
        // Variables to store version number
        private int majorNumber = 0;
This page took 0.028126 seconds and 5 git commands to generate.