jakarta-jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Stover <mstov...@apache.org>
Subject Re: end of line characters in names
Date Thu, 07 Jun 2001 17:38:13 GMT
It's in the current CVS files, but not the released tar.

On Thursday 07 June 2001 20:46, you wrote:
> Hi,
> This refers to the GUI client for JMeter.
>
> If we create any config elements such as URL Config and save the entire
> thread group / test plan and read it again , the names of the saved
> elements display new lines in the beginning and end. The following fix will
> take care of this problem.
>
> Index:
> ../src/org/apache/jmeter/save/handlers/AbstractConfigElementHandler.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-jmeter/src/org/apache/jmeter/save/handlers/Abstract
>ConfigElementHandler.java,v retrieving revision 1.5
> diff -r1.5 AbstractConfigElementHandler.java
> 111c111
> <         currentProperty = atts.getValue("name");
>
> ---
>
> >         currentProperty = atts.getValue("name").trim();
>
> 120,121c120,122
> <
>
> <         if(data != null && data.trim().length() > 0)
>
> ---
>
> >         if(data != null)
> >
> >              data = data.trim();
> >         if(data != null && data.length() > 0)
>
> 123c124
> <              config.putProperty(currentProperty,data.trim());
>
> ---
>
> >              config.putProperty(currentProperty,data);
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org

-- 
Mike Stover
mstover1@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


Mime
View raw message