Name hiding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571522 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2bbfeb5bf7
commit
73d8aac14c
|
@ -555,8 +555,8 @@ public class TestMainClientExec {
|
||||||
@Override
|
@Override
|
||||||
public HttpResponse answer(final InvocationOnMock invocationOnMock) throws Throwable {
|
public HttpResponse answer(final InvocationOnMock invocationOnMock) throws Throwable {
|
||||||
final Object[] args = invocationOnMock.getArguments();
|
final Object[] args = invocationOnMock.getArguments();
|
||||||
final HttpEntityEnclosingRequest request = (HttpEntityEnclosingRequest) args[0];
|
final HttpEntityEnclosingRequest requestEE = (HttpEntityEnclosingRequest) args[0];
|
||||||
request.getEntity().writeTo(new ByteArrayOutputStream());
|
requestEE.getEntity().writeTo(new ByteArrayOutputStream());
|
||||||
return response1;
|
return response1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue