Refactor TmfTrace and dependencies - fix parent class, remove clone()
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / TmfTrace.java
index 3883e6b0fc7bf4abdd81d405676e37e69071447c..84e6732c7a39b70f183d1ee133e1567a085602a1 100644 (file)
@@ -145,30 +145,30 @@ public abstract class TmfTrace<T extends ITmfEvent> extends TmfEventProvider<T>
         indexTrace(false);
     }
 
-    // ------------------------------------------------------------------------
-    // Cloneable
-    // ------------------------------------------------------------------------
-
-    /* (non-Javadoc)
-     * @see java.lang.Object#clone()
-     */
-    @Override
-    @SuppressWarnings("unchecked")
-    public TmfTrace<T> clone() {
-        TmfTrace<T> clone = null;
-        try {
-            clone = (TmfTrace<T>) super.clone();
-            //            clone.fTrace = fTrace;
-            //            clone.fRank = fRank;
-            //            clone.fTimestamp = fTimestamp != null ? fTimestamp.clone() : null;
-            //            clone.fSource = fSource;
-            //            clone.fType = fType != null ? fType.clone() : null;
-            //            clone.fContent = fContent != null ? fContent.clone() : null;
-            //            clone.fReference = fReference;
-        } catch (final CloneNotSupportedException e) {
-        }
-        return clone;
-    }
+    //    // ------------------------------------------------------------------------
+    //    // Cloneable
+    //    // ------------------------------------------------------------------------
+    //
+    //    /* (non-Javadoc)
+    //     * @see java.lang.Object#clone()
+    //     */
+    //    @Override
+    //    @SuppressWarnings("unchecked")
+    //    public TmfTrace<T> clone() {
+    //        TmfTrace<T> clone = null;
+    //        try {
+    //            clone = (TmfTrace<T>) super.clone();
+    //            //            clone.fTrace = fTrace;
+    //            //            clone.fRank = fRank;
+    //            //            clone.fTimestamp = fTimestamp != null ? fTimestamp.clone() : null;
+    //            //            clone.fSource = fSource;
+    //            //            clone.fType = fType != null ? fType.clone() : null;
+    //            //            clone.fContent = fContent != null ? fContent.clone() : null;
+    //            //            clone.fReference = fReference;
+    //        } catch (final CloneNotSupportedException e) {
+    //        }
+    //        return clone;
+    //    }
 
     // ------------------------------------------------------------------------
     // ITmfTrace - initializers
This page took 0.024554 seconds and 5 git commands to generate.