jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1529542 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java
Date Sat, 05 Oct 2013 22:30:49 GMT
Author: pmouawad
Date: Sat Oct  5 22:30:49 2013
New Revision: 1529542

URL: http://svn.apache.org/r1529542
Log:
Avoid calling twice same method

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java?rev=1529542&r1=1529541&r2=1529542&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HtmlParserHTMLParser.java
Sat Oct  5 22:30:49 2013
@@ -132,7 +132,7 @@ class HtmlParserHTMLParser extends HTMLP
                 try {
                     if (!baseref.equals(""))// Bugzilla 30713
                     {
-                        baseUrl.url = ConversionUtils.makeRelativeURL(baseUrl.url, baseHref.getBaseUrl());
+                        baseUrl.url = ConversionUtils.makeRelativeURL(baseUrl.url, baseref);
                     }
                 } catch (MalformedURLException e1) {
                     throw new HTMLParseException(e1);



Mime
View raw message