Bug 37117 - setProperty returns existing value not "" as per docs
setProperty returns existing value not "" as per docs
Status: CLOSED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.1
Other other
: P2 normal (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2005-10-17 15:04 UTC by Martin West
Modified: 2005-10-18 05:14 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin West 2005-10-17 15:04:46 UTC
setProperty appears to return the existing value as per its java counterpart,
not "" as the documentation states, and hence cannot be used just anywhere.
Comment 1 Sebb 2005-10-17 19:35:41 UTC
Thanks for the report.

I've added an optional 3rd parameter so that one can return the original value 
if required, but the default is now to return "" as documented.
Comment 2 Martin West 2005-10-18 13:14:06 UTC
thanks