Fix for Bug337891
authorFrancois Chouinard <fchouinard@gmail.com>
Fri, 11 Mar 2011 18:53:55 +0000 (13:53 -0500)
committerFrancois Chouinard <fchouinard@gmail.com>
Fri, 11 Mar 2011 18:53:55 +0000 (13:53 -0500)
org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/event/TmfEventContent.java
org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/event/TmfEventReference.java
org.eclipse.linuxtools.tmf/src/org/eclipse/linuxtools/tmf/event/TmfEventSource.java

index 3bccfc63813ff90fb43889990197d90f00bf612d..cb987abd9b219adcc390f58b1b54b2be1282bd78 100644 (file)
@@ -179,8 +179,8 @@ public class TmfEventContent implements Cloneable {
                try {
                        clone = (TmfEventContent) super.clone();
                        clone.fParentEvent = fParentEvent;
-                       clone.fRawContent = null;
-                       clone.fFields = null;
+                       clone.fRawContent = fRawContent;
+                       clone.fFields = fFields;
                }
                catch (CloneNotSupportedException e) {
                        e.printStackTrace();
index a7a12bc5300b02761b8f9db9e140cff7d434de6a..d7a9319552783b8be56ed06443463b6de99d36c9 100644 (file)
@@ -93,7 +93,7 @@ public class TmfEventReference implements Cloneable {
                TmfEventReference clone = null;
                try {
                        clone = (TmfEventReference) super.clone();
-                       clone.fReference = null;
+                       clone.fReference = fReference;
                }
                catch (CloneNotSupportedException e) {
                        e.printStackTrace();
index 244ecd53fed4adc0bd05b9b398f2b8d4545e4302..eda1c77f0a611d0e1643c71210629afe68ad6dbd 100644 (file)
@@ -93,7 +93,7 @@ public class TmfEventSource implements Cloneable {
                TmfEventSource clone = null;
                try {
                        clone = (TmfEventSource) super.clone();
-                       clone.fSourceId = null;
+                       clone.fSourceId = fSourceId;
                }
                catch (CloneNotSupportedException e) {
                        e.printStackTrace();
This page took 0.047782 seconds and 5 git commands to generate.