tmf: Remove redundant CtfTmfEvent.getEventName() method
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / ctfadaptor / CtfTmfEvent.java
index 57e26caeb236b16d2b12e750f57914f5a08ab185..b505fc5ba5c49f47033c41fb7f8a721f70b7a6ad 100644 (file)
@@ -128,15 +128,6 @@ public class CtfTmfEvent extends TmfEvent
         return this.typeId;
     }
 
-    /**
-     * Gets the name of a current event.
-     *
-     * @return The event name
-     */
-    public String getEventName() {
-        return eventName;
-    }
-
     @Override
     public CtfTmfTrace getTrace() {
         /*
@@ -151,7 +142,7 @@ public class CtfTmfEvent extends TmfEvent
         CtfTmfEventType ctfTmfEventType = CtfTmfEventType.get(eventName);
         if (ctfTmfEventType == null) {
             /* Should only return null the first time */
-            ctfTmfEventType = new CtfTmfEventType(this.getEventName(), this.getContent());
+            ctfTmfEventType = new CtfTmfEventType(eventName, this.getContent());
         }
         return ctfTmfEventType;
     }
This page took 0.025469 seconds and 5 git commands to generate.