Bug 42833 - Argument class to use LinkedHashMap to preserve ordering
Summary: Argument class to use LinkedHashMap to preserve ordering
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on:
Reported: 2007-07-07 12:35 UTC by Sebb
Modified: 2008-05-08 05:12 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2007-07-07 12:35:41 UTC
At present, the Arguments class uses a HashMap to store arguments. This means 
that arguments are not necessarily processed in the order they are defined in 
the test plan.

Consider using LinkedHashMap to guarantee the ordering.
Comment 1 Sebb 2008-05-08 05:12:23 UTC
The class already used ArrayList for storing the argun=ments.

However the getArgumentsAsMap() method used HashMap; this has been changed to LinkedHashMap:

URL: http://svn.apache.org/viewvc?rev=654500&view=rev
Bug 42833 - Argument class uses LinkedHashMap in getArgumentsAsMap() to preserve ordering