ctf: make computeAttributeMap return a Map instead of ImmutableMap
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 18 Dec 2015 21:24:14 +0000 (16:24 -0500)
committerMatthew Khouzam <matthew.khouzam@ericsson.com>
Fri, 18 Dec 2015 22:15:20 +0000 (17:15 -0500)
Change-Id: Iba609c83c20f11b26bd7b4db7deb2242ad41cdf6
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/63058
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-by: Hudson CI
ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndexEntry.java

index 5da4c2b3cf7308371a00ac9fdb77dd067a562695..bda26442b426f944d2750b7d392e2bfb44e63ce8 100644 (file)
@@ -173,7 +173,7 @@ public class StreamInputPacketIndexEntry implements ICTFPacketDescriptor {
         fLostEvents = computeLostEvents(lostSoFar);
     }
 
-    private static @NonNull ImmutableMap<String, Object> computeAttributeMap(StructDefinition streamPacketContextDef) {
+    private static @NonNull Map<String, Object> computeAttributeMap(StructDefinition streamPacketContextDef) {
         Builder<String, Object> attributeBuilder = ImmutableMap.<String, Object> builder();
         for (String field : streamPacketContextDef.getDeclaration().getFieldsList()) {
             IDefinition id = streamPacketContextDef.lookupDefinition(field);
This page took 0.026162 seconds and 5 git commands to generate.