tmf.xml: Move the ImmutableMap of action in the constructor
authorJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Wed, 27 Jul 2016 19:56:46 +0000 (15:56 -0400)
committerJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Wed, 24 Aug 2016 02:58:06 +0000 (22:58 -0400)
commit11262fe2db2689892c3dea4b1d5144238f96635a
tree90e67011e49c6539ccf47cffa11dc249bc42dae9
parentd64a8ad15c83d3c7df42cb0efea6d5b0679bbb0f
tmf.xml: Move the ImmutableMap of action in the constructor

This patch moves the ImmutableMap of action in the constructor in the
event handler.
This change prevents a copy of the maps of test and action each time
they are needed. The maps are build in the constructor and are
unmodifiable.

Change-Id: I5772528f50fde545a63215beb918d2f7f9a88005
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/78187
Reviewed-by: Hudson CI
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/model/TmfXmlPatternEventHandler.java
This page took 0.025939 seconds and 5 git commands to generate.