You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2016/02/06 04:10:00 UTC
svn commit: r1728788 - in /httpcomponents/httpclient/trunk: RELEASE_NOTES.txt
httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java
Author: ggregory
Date: Sat Feb 6 03:10:00 2016
New Revision: 1728788
URL: http://svn.apache.org/viewvc?rev=1728788&view=rev
Log:
[HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public.
Modified:
httpcomponents/httpclient/trunk/RELEASE_NOTES.txt
httpcomponents/httpclient/trunk/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java
Modified: httpcomponents/httpclient/trunk/RELEASE_NOTES.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/RELEASE_NOTES.txt?rev=1728788&r1=1728787&r2=1728788&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/RELEASE_NOTES.txt (original)
+++ httpcomponents/httpclient/trunk/RELEASE_NOTES.txt Sat Feb 6 03:10:00 2016
@@ -10,6 +10,8 @@ Changelog:
* [HTTPCLIENT-1715] NTLMEngineImpl.Type1Message not thread safe but declared as a constant.
Contributed by Olivier Lafontaine <olafontaine at gmail.com>, Gary Gregory <ggregory at apache.org>
+* [HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public.
+ Contributed by Cash Costello <cash.costello at gmail.com>
Release 5.0-ALPHA1
Modified: httpcomponents/httpclient/trunk/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java?rev=1728788&r1=1728787&r2=1728788&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java (original)
+++ httpcomponents/httpclient/trunk/httpclient5-fluent/src/main/java/org/apache/hc/client5/http/fluent/Content.java Sat Feb 6 03:10:00 2016
@@ -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;