From 73d8aac14c0909c6bc7dcb4e28ded1cc22b65267 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Tue, 25 Feb 2014 01:39:13 +0000 Subject: [PATCH] Name hiding git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571522 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/impl/execchain/TestMainClientExec.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httpclient/src/test/java/org/apache/http/impl/execchain/TestMainClientExec.java b/httpclient/src/test/java/org/apache/http/impl/execchain/TestMainClientExec.java index 439b842ee..1f76b9f40 100644 --- a/httpclient/src/test/java/org/apache/http/impl/execchain/TestMainClientExec.java +++ b/httpclient/src/test/java/org/apache/http/impl/execchain/TestMainClientExec.java @@ -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; }