jmeter-commits mailing list archives

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

URL: http://svn.apache.org/r1529544
Log:
Use constants

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=1529544&r1=1529543&r2=1529544&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:36:10 2013
@@ -151,12 +151,12 @@ class HtmlParserHTMLParser extends HTMLP
             } else if (tag instanceof ObjectTag) {
                 // look for Objects
                 ObjectTag applet = (ObjectTag) tag; 
-                String data = applet.getAttribute("codebase");
+                String data = applet.getAttribute(ATT_CODEBASE);
                 if(!StringUtils.isEmpty(data)) {
                     binUrlStr = data;               
                 }
                 
-                data = applet.getAttribute("data");
+                data = applet.getAttribute(ATT_DATA);
                 if(!StringUtils.isEmpty(data)) {
                     binUrlStr = data;                    
                 }



Mime
View raw message