Bug 42833 - Argument class to use LinkedHashMap to preserve ordering
Argument class to use LinkedHashMap to preserve ordering
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
unspecified
Other other
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-07-07 12:35 UTC by Sebb
Modified: 2008-05-08 05:12 UTC (History)
0 users



Attachments

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
Log:
Bug 42833 - Argument class uses LinkedHashMap in getArgumentsAsMap() to preserve ordering