jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: svn commit: r1629955 - /jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java
Date Tue, 07 Oct 2014 19:22:30 GMT
Am 07.10.2014 um 21:04 schrieb pmouawad@apache.org:
> Author: pmouawad
> Date: Tue Oct  7 19:04:16 2014
> New Revision: 1629955
>
> URL: http://svn.apache.org/r1629955
> Log:
> Bug 57032 - Make regexes in HTTP Script Recorder more useful.
> Respect spaces instead of tabs
> Add javadoc
I have changed my eclipse setting and added a bit more documentation.

Thanks
  Felix
> Bugzilla Id: 57032
>
> Modified:
>      jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java
>
> Modified: jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java
> URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java?rev=1629955&r1=1629954&r2=1629955&view=diff
> ==============================================================================
> --- jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java
(original)
> +++ jmeter/trunk/src/core/org/apache/jmeter/engine/util/ReplaceFunctionsWithStrings.java
Tue Oct  7 19:04:16 2014
> @@ -92,12 +92,17 @@ public class ReplaceFunctionsWithStrings
>           }
>           return new StringProperty(prop.getName(), input);
>       }
> -
> +
> +    /**
> +     *
> +     * @param value
> +     * @return regexp if value is not already one
> +     */
>       private String constructPattern(String value) {
>           if (value.startsWith("(") && value.endsWith(")")) {
>               return value;
>           }
> -	return "\\b(" + value + ")\\b";
> +        return "\\b(" + value + ")\\b";
>       }
>   
>   }
>
>


Mime
View raw message