sebb 2004/02/27 03:45:54
Modified: src/core/org/apache/jmeter/testelement/property
AbstractProperty.java
Log:
Revert toString behaviour
Revision Changes Path
1.19 +7 -6
jakarta-jmeter/src/core/org/apache/jmeter/testelement/property/AbstractProperty.java
Index: AbstractProperty.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/testelement/property/AbstractProperty.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- AbstractProperty.java 26 Feb 2004 00:51:07 -0000 1.18
+++ AbstractProperty.java 27 Feb 2004 11:45:54 -0000 1.19
@@ -427,13 +427,14 @@
}
/**
- * Provides a string representation of the property.
+ * Provides the string representation of the property.
*
- * @return a string consisting of the name and its value
+ * @return the string value
*/
public String toString()
{
- return name + "=" + getStringValue();
+ // N.B. Other classes rely on this returning just the string.
+ return getStringValue();
}
/* (non-Javadoc)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]