jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1773587 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.java
Date Sun, 11 Dec 2016 16:38:18 GMT
Author: fschumacher
Date: Sun Dec 11 16:38:18 2016
New Revision: 1773587

URL: http://svn.apache.org/viewvc?rev=1773587&view=rev
Log:
Remove duplicated condition. TAG_SCRIPT was already checked in this if/else cascade.

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

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.java?rev=1773587&r1=1773586&r2=1773587&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.java
(original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.java
Sun Dec 11 16:38:18 2016
@@ -106,8 +106,6 @@ public class JsoupBasedHtmlParser extend
                     // then we need to download the binary
                     extractAttribute(tag, ATT_SRC);
                 }
-            } else if (tagName.equals(TAG_SCRIPT)) {
-                extractAttribute(tag, ATT_SRC);
                 // Bug 51750
             } else if (tagName.equals(TAG_FRAME) || tagName.equals(TAG_IFRAME)) {
                 extractAttribute(tag, ATT_SRC);



Mime
View raw message