You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2016/12/11 16:38:18 UTC

svn commit: r1773587 - /jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.java

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);