From: Matthew Khouzam Date: Fri, 18 Dec 2015 21:24:14 +0000 (-0500) Subject: ctf: make computeAttributeMap return a Map instead of ImmutableMap X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f2855c5b2b82f0116f51745b2d13896d43df8254;p=deliverable%2Ftracecompass.git ctf: make computeAttributeMap return a Map instead of ImmutableMap Change-Id: Iba609c83c20f11b26bd7b4db7deb2242ad41cdf6 Signed-off-by: Matthew Khouzam Reviewed-on: https://git.eclipse.org/r/63058 Reviewed-by: Alexandre Montplaisir Reviewed-by: Hudson CI --- diff --git a/ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndexEntry.java b/ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndexEntry.java index 5da4c2b3cf..bda26442b4 100644 --- a/ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndexEntry.java +++ b/ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/internal/ctf/core/trace/StreamInputPacketIndexEntry.java @@ -173,7 +173,7 @@ public class StreamInputPacketIndexEntry implements ICTFPacketDescriptor { fLostEvents = computeLostEvents(lostSoFar); } - private static @NonNull ImmutableMap computeAttributeMap(StructDefinition streamPacketContextDef) { + private static @NonNull Map computeAttributeMap(StructDefinition streamPacketContextDef) { Builder attributeBuilder = ImmutableMap. builder(); for (String field : streamPacketContextDef.getDeclaration().getFieldsList()) { IDefinition id = streamPacketContextDef.lookupDefinition(field);