Bug 42326 - Order of elements in .jmx files changes - take 2

git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/branches/rel-2-2@543291 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: 16094965fb
This commit is contained in:
Sebastian Bazley 2007-05-31 22:36:16 +00:00
parent e652e10e84
commit 05aed6825b
1 changed files with 2 additions and 2 deletions

View File

@ -211,12 +211,12 @@ public abstract class AbstractTestElement implements TestElement, Serializable {
clearTemporary(property);
}
JMeterProperty prop = getProperty(property.getName());
removeProperty(property.getName());
//removeProperty(property.getName());
if (prop instanceof NullProperty || (prop instanceof StringProperty && prop.getStringValue().equals(""))) {
propMap.put(property.getName(), property);
} else {
propMap.put(property.getName(), prop);
//propMap.put(property.getName(), prop);
prop.mergeIn(property);
}
}