From c5a0bb90a17619704ccf6c5e1b08899d27abeb24 Mon Sep 17 00:00:00 2001 From: Matthew Khouzam Date: Thu, 1 May 2014 23:05:24 -0400 Subject: [PATCH] ctf: minor LexicalScope fixups Two mislabelled scopes were fixes Change-Id: I2a44d3fda57551f84a320432493c1e1d1cb61e8f Signed-off-by: Matthew Khouzam Reviewed-on: https://git.eclipse.org/r/25859 Tested-by: Hudson CI Reviewed-by: Alexandre Montplaisir --- .../linuxtools/ctf/core/event/scope/LexicalScope.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/scope/LexicalScope.java b/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/scope/LexicalScope.java index e2b6e1a6d0..daa6215d3a 100644 --- a/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/scope/LexicalScope.java +++ b/org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/scope/LexicalScope.java @@ -119,7 +119,7 @@ public class LexicalScope implements Comparable { * * @since 3.0 */ - public static final LexicalScope TRACE_PACKET_HEADER = new LexicalScope(STREAM_EVENT, "header"); //$NON-NLS-1$ + public static final LexicalScope TRACE_PACKET_HEADER = new LexicalScope(TRACE_PACKET, "header"); //$NON-NLS-1$ /** * Stream event context @@ -133,7 +133,7 @@ public class LexicalScope implements Comparable { * * @since 3.0 */ - public static final LexicalScope STREAM_EVENT_HEADER = new LexicalScope(TRACE_PACKET, "header"); //$NON-NLS-1$ + public static final LexicalScope STREAM_EVENT_HEADER = new LexicalScope(STREAM_EVENT, "header"); //$NON-NLS-1$ /** * Fields in an event @@ -170,6 +170,7 @@ public class LexicalScope implements Comparable { private final String fPath; private final Map fChildren; + /** * The scope constructor * -- 2.34.1