From 56e6a6c853a103b5b7989398193729f441cc35a1 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Mon, 24 Feb 2014 17:56:52 +0000 Subject: [PATCH] Avoid name hiding git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1571370 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/entity/mime/AbstractMultipartForm.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/httpmime/src/main/java/org/apache/http/entity/mime/AbstractMultipartForm.java b/httpmime/src/main/java/org/apache/http/entity/mime/AbstractMultipartForm.java index 3f932cd51..c4078049a 100644 --- a/httpmime/src/main/java/org/apache/http/entity/mime/AbstractMultipartForm.java +++ b/httpmime/src/main/java/org/apache/http/entity/mime/AbstractMultipartForm.java @@ -136,10 +136,10 @@ abstract class AbstractMultipartForm { final OutputStream out, final boolean writeContent) throws IOException { - final ByteArrayBuffer boundary = encode(this.charset, getBoundary()); + final ByteArrayBuffer boundaryEncoded = encode(this.charset, getBoundary()); for (final FormBodyPart part: getBodyParts()) { writeBytes(TWO_DASHES, out); - writeBytes(boundary, out); + writeBytes(boundaryEncoded, out); writeBytes(CR_LF, out); formatMultipartHeader(part, out); @@ -152,7 +152,7 @@ abstract class AbstractMultipartForm { writeBytes(CR_LF, out); } writeBytes(TWO_DASHES, out); - writeBytes(boundary, out); + writeBytes(boundaryEncoded, out); writeBytes(TWO_DASHES, out); writeBytes(CR_LF, out); }