tmf: API clean-up of sequence diagram framework
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / uml2sd / TmfAsyncSequenceDiagramEvent.java
index 2ef28a4697aa7bcd4d3bd1f87e2c7e3b6e99ffb7..ad0e07e8fb9f39c1bed2db9ce1d65b380b3a5acc 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2011 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -12,7 +12,7 @@
 package org.eclipse.linuxtools.tmf.core.uml2sd;
 
 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
-import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp;
+import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
 
 /**
  * <p>
@@ -30,7 +30,7 @@ public class TmfAsyncSequenceDiagramEvent extends TmfSyncSequenceDiagramEvent im
     /**
      * The end time of the sequence diagram event (i.e. time when signal was received).
      */
-    final protected ITmfTimestamp fEndTime;
+    private final ITmfTimestamp fEndTime;
 
     // ------------------------------------------------------------------------
     // Constructors
@@ -50,16 +50,15 @@ public class TmfAsyncSequenceDiagramEvent extends TmfSyncSequenceDiagramEvent im
         if (endEvent == null) {
             throw new IllegalArgumentException("TmfAsyncSequenceDiagramEvent constructor: endEvent=null"); //$NON-NLS-1$
         }
-        fEndTime = endEvent.getTimestamp().clone();
+        fEndTime = endEvent.getTimestamp();
     }
 
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.uml2sd.ITmfAsyncSequenceDiagramEvent#getEndTime()
+    /**
+     * @since 2.0
      */
     @Override
     public ITmfTimestamp getEndTime() {
This page took 0.025371 seconds and 5 git commands to generate.