You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2007/03/02 15:36:55 UTC
svn commit: r513784 -
/jakarta/jmeter/branches/rel-2-2/src/functions/org/apache/jmeter/functions/Property.java
Author: sebb
Date: Fri Mar 2 06:36:54 2007
New Revision: 513784
URL: http://svn.apache.org/viewvc?view=rev&rev=513784
Log:
Reformat mangled comments
Modified:
jakarta/jmeter/branches/rel-2-2/src/functions/org/apache/jmeter/functions/Property.java
Modified: jakarta/jmeter/branches/rel-2-2/src/functions/org/apache/jmeter/functions/Property.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/src/functions/org/apache/jmeter/functions/Property.java?view=diff&rev=513784&r1=513783&r2=513784
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/src/functions/org/apache/jmeter/functions/Property.java (original)
+++ jakarta/jmeter/branches/rel-2-2/src/functions/org/apache/jmeter/functions/Property.java Fri Mar 2 06:36:54 2007
@@ -31,14 +31,16 @@
/**
* Function to get a JMeter property, and optionally store it
*
- * Parameters: - property name - variable name (optional) - default value
- * (optional)
+ * Parameters:
+ * - property name
+ * - variable name (optional)
+ * - default value (optional)
*
+ * Returns:
+ * - the property value, but if not found:
+ * - the default value, but if not defined:
+ * - the property name itself
*
- * Returns: - the property value, but if not found - the default value, but if
- * not define - the property name itself
- *
- * @version $Revision$ Updated: $Date$
*/
public class Property extends AbstractFunction implements Serializable {
@@ -48,8 +50,8 @@
// Number of parameters expected - used to reject invalid calls
private static final int MIN_PARAMETER_COUNT = 1;
-
private static final int MAX_PARAMETER_COUNT = 3;
+
static {
desc.add(JMeterUtils.getResString("property_name_param"));
desc.add(JMeterUtils.getResString("function_name_param"));
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org