Author: sebb Date: Wed Aug 5 13:23:50 2009 New Revision: 801222 URL: http://svn.apache.org/viewvc?rev=801222&view=rev Log: Remove deprecated method
Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java?rev=801222&r1=801221&r2=801222&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java Wed Aug 5 13:23:50 2009 @@ -182,7 +182,7 @@ rawPostData = line.toByteArray(); if (log.isDebugEnabled()){ - log.debug("rawPostData in default JRE encoding: " + new String(rawPostData)); + log.debug("rawPostData in default JRE encoding: " + new String(rawPostData)); // TODO - charset? log.debug("Request: " + clientRequest.toString()); } return clientRequest.toByteArray(); @@ -282,19 +282,6 @@ return sampler; } - /** - * - * @return the sampler - * @throws MalformedURLException - * @throws IOException - * @throws ProtocolException - * @deprecated use the getSampler(HashMap pageEncodings, HashMap formEncodings) instead, since - * that properly handles the encodings of the page - */ - public HTTPSamplerBase getSampler() throws MalformedURLException, IOException, ProtocolException { - return getSampler(null, null); - } - private String getContentType() { Header contentTypeHeader = (Header) headers.get(CONTENT_TYPE); if (contentTypeHeader != null) { --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org