From 8e8cfc41ad70bf40ef83f4757d06a858741bf585 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Sat, 6 Feb 2016 03:10:00 +0000 Subject: [PATCH] [HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public. git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1728788 13f79535-47bb-0310-9956-ffa450edef68 --- RELEASE_NOTES.txt | 2 ++ .../main/java/org/apache/hc/client5/http/fluent/Content.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt index 4bae427f5..275240481 100644 --- a/RELEASE_NOTES.txt +++ b/RELEASE_NOTES.txt @@ -10,6 +10,8 @@ Changelog: * [HTTPCLIENT-1715] NTLMEngineImpl.Type1Message not thread safe but declared as a constant. Contributed by Olivier Lafontaine , Gary Gregory +* [HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public. + Contributed by Cash Costello Release 5.0-ALPHA1 diff --git a/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java b/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java index 8e5df816d..fbc6d1004 100644 --- a/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java +++ b/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java @@ -44,7 +44,7 @@ public class Content { private final byte[] raw; private final ContentType type; - Content(final byte[] raw, final ContentType type) { + public Content(final byte[] raw, final ContentType type) { super(); this.raw = raw; this.type = type;