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:
Sebastian Bazley 2014-02-25 01:39:13 +00:00
parent 2bbfeb5bf7
commit 73d8aac14c
1 changed files with 2 additions and 2 deletions

View File

@ -555,8 +555,8 @@ public class TestMainClientExec {
@Override
public HttpResponse answer(final InvocationOnMock invocationOnMock) throws Throwable {
final Object[] args = invocationOnMock.getArguments();
final HttpEntityEnclosingRequest request = (HttpEntityEnclosingRequest) args[0];
request.getEntity().writeTo(new ByteArrayOutputStream());
final HttpEntityEnclosingRequest requestEE = (HttpEntityEnclosingRequest) args[0];
requestEE.getEntity().writeTo(new ByteArrayOutputStream());
return response1;
}