You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2017/02/22 12:41:15 UTC
svn commit: r1784017 -
/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java
Author: sebb
Date: Wed Feb 22 12:41:15 2017
New Revision: 1784017
URL: http://svn.apache.org/viewvc?rev=1784017&view=rev
Log:
Add parameter-less ctor for unit testing
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java
Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java?rev=1784017&r1=1784016&r2=1784017&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CSSParseExceptionCallback.java Wed Feb 22 12:41:15 2017
@@ -43,6 +43,14 @@ public class CSSParseExceptionCallback i
this.baseUrl = Validate.notNull(baseUrl);
}
+ /**
+ * @deprecated - only for use from unit test code
+ */
+ @Deprecated
+ public CSSParseExceptionCallback() {
+ this.baseUrl = null;
+ }
+
@Override
public void onException(ParseException ex) {
final String message = "Failed to parse CSS: " + baseUrl + ", "