Skip to content

Commit 361b552

Browse files
ctf: fix environment
Change-Id: I95537016f0fbc331cc89c88de995d535c8dc1915 Signed-off-by: Matthew Khouzam <[email protected]>
1 parent 40563f6 commit 361b552

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/event/metadata/JsonTraceMetadataNode.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
import org.eclipse.tracecompass.ctf.core.CTFException;
1717
import org.eclipse.tracecompass.internal.ctf.core.event.types.ICTFMetadataNode;
18-
import org.json.JSONObject;
1918

19+
import com.google.gson.JsonObject;
2020
import com.google.gson.annotations.SerializedName;
2121

2222
/**
@@ -30,7 +30,7 @@ public class JsonTraceMetadataNode extends CTFJsonMetadataNode {
3030
@SerializedName("uid")
3131
private String fUid;
3232
@SerializedName("environment")
33-
private JSONObject fEnvironment;
33+
private JsonObject fEnvironment;
3434
@SerializedName("packet-header-field-class")
3535
private JsonStructureFieldMetadataNode fPacketHeader;
3636

@@ -62,7 +62,7 @@ public String getUid() {
6262
*
6363
* @return the environment
6464
*/
65-
public JSONObject getEnvironment() {
65+
public JsonObject getEnvironment() {
6666
return fEnvironment;
6767
}
6868

0 commit comments

Comments
 (0)