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;