Skip to content
Permalink
Browse files

Remove un-used method and address LGTM finding

  • Loading branch information...
kingthorin committed Mar 25, 2019
1 parent 4a5e6dc commit f6391bd48216abc125fc5b7a973f5f1ecde6018e
Showing with 1 addition and 19 deletions.
  1. +1 −19 src/org/parosproxy/paros/network/HttpSender.java
@@ -75,6 +75,7 @@
// ZAP: 2018/08/03 Added AUTHENTICATION_HELPER_INITIATOR.
// ZAP: 2018/09/17 Set the user to messages created for redirections (Issue 2531).
// ZAP: 2018/10/12 Deprecate getClient(), it exposes implementation details.
// ZAP: 2019/03/24 Removed commented and unused sendAndReceive method.

package org.parosproxy.paros.network;

@@ -389,25 +390,6 @@ public void sendAndReceive(HttpMessage msg) throws IOException {
sendAndReceive(msg, followRedirect);
}

/**
* Do not use this unless sure what is doing. This method works but proxy may skip the pipe
* without properly handle the filter.
*
* Made this method private as it doesnt appear to be used anywhere...
*
* @param msg
* @param pipe
* @param buf
* @throws HttpException
* @throws IOException
*/
/*
* private void sendAndReceive(HttpMessage msg, HttpOutputStream pipe, byte[] buf) throws
* HttpException, IOException { sendAndReceive(msg, followRedirect, pipe, buf);
*
* }
*/

/**
* Send and receive a HttpMessage.
*

0 comments on commit f6391bd

Please sign in to comment.
You can’t perform that action at this time.